Skip to content

Commit 1d065f9

Browse files
committed
add missing docs to OperandIdx
1 parent 6e7c3f1 commit 1d065f9

File tree

1 file changed

+1
-0
lines changed
  • crates/wasmi/src/engine/translator/stack2

1 file changed

+1
-0
lines changed

crates/wasmi/src/engine/translator/stack2/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub struct Stack {
2323
max_stack_height: usize,
2424
}
2525

26+
/// A [`StackOperand`] or [`Operand`] index on the [`Stack`].
2627
#[derive(Debug, Copy, Clone)]
2728
pub struct OperandIdx(NonZeroUsize);
2829

0 commit comments

Comments
 (0)