Skip to content

Commit 2aef7fc

Browse files
committed
Fix docs
1 parent 4c9193c commit 2aef7fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/compiler-core/src/bytecode/instruction.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ impl Instruction {
555555
_ => return None,
556556
})
557557
}
558-
/// Map a specialized or instrumented opcode back to its adaptive (base) variant.
558+
559+
/// Map a specialized opcode back to its adaptive (base) variant.
559560
/// `_PyOpcode_Deopt`
560561
pub const fn deopt(self) -> Option<Self> {
561562
Some(match self {
@@ -681,7 +682,7 @@ impl Instruction {
681682
})
682683
}
683684

684-
/// Map a specialized opcode back to its adaptive (base) variant.
685+
/// Map a specialized or instrumented opcode back to its adaptive (base) variant.
685686
pub const fn deoptimize(self) -> Self {
686687
match self.deopt() {
687688
Some(v) => v,

0 commit comments

Comments
 (0)