Skip to content

Commit 424fbc1

Browse files
committed
renaming match bindings
1 parent cd65d68 commit 424fbc1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates/wasmi/src/engine/translator/func2/stack

crates/wasmi/src/engine/translator/func2/stack/operand.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ impl Operand {
8383
/// Returns the type of the [`Operand`].
8484
pub fn ty(&self) -> ValType {
8585
match self {
86-
Self::Local(local_operand) => local_operand.ty(),
87-
Self::Temp(temp_operand) => temp_operand.ty(),
88-
Self::Immediate(immediate_operand) => immediate_operand.ty(),
86+
Self::Local(operand) => operand.ty(),
87+
Self::Temp(operand) => operand.ty(),
88+
Self::Immediate(operand) => operand.ty(),
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)