Skip to content

Commit 44b6709

Browse files
committed
change StackOperand doc links to Operand
1 parent ae22223 commit 44b6709

File tree

1 file changed

+4
-4
lines changed
  • crates/wasmi/src/engine/translator/translator2/stack

1 file changed

+4
-4
lines changed

crates/wasmi/src/engine/translator/translator2/stack/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl Stack {
142142
///
143143
/// # Note
144144
///
145-
/// Calls `f` for every non [`StackOperand::Temp`] operand on the [`Stack`]
145+
/// Calls `f` for every non [`Operand::Temp`] operand on the [`Stack`]
146146
/// that is also a parameter to the pushed Wasm `loop` control frame.
147147
///
148148
/// # Panics (debug)
@@ -358,7 +358,7 @@ impl Stack {
358358

359359
/// Preserve all locals on the [`Stack`] that refer to `local_index`.
360360
///
361-
/// This is done by converting those locals to [`StackOperand::Temp`] and yielding them.
361+
/// This is done by converting those locals to [`Operand::Temp`] and yielding them.
362362
///
363363
/// # Note
364364
///
@@ -373,11 +373,11 @@ impl Stack {
373373
self.operands.preserve_locals(local_index)
374374
}
375375

376-
/// Converts and returns the [`StackOperand`] at `depth` into a [`StackOperand::Temp`].
376+
/// Converts and returns the [`StackOperand`] at `depth` into a [`Operand::Temp`].
377377
///
378378
/// # Note
379379
///
380-
/// Returns `None` if operand at `depth` is [`StackOperand::Temp`] already.
380+
/// Returns `None` if operand at `depth` is [`Operand::Temp`] already.
381381
///
382382
/// # Panics
383383
///

0 commit comments

Comments
 (0)