Skip to content

Commit ccdbcc0

Browse files
authored
docs: fix typos (#2800)
1 parent 665f524 commit ccdbcc0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

crates/interpreter/src/instructions/macros.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ macro_rules! gas_or_fail {
8686
};
8787
}
8888

89-
/// Resizes the interpreterreter memory if necessary. Fails the instruction if the memory or gas limit
89+
/// Resizes the interpreter memory if necessary. Fails the instruction if the memory or gas limit
9090
/// is exceeded.
9191
#[macro_export]
9292
#[collapse_debuginfo(yes)]
@@ -111,9 +111,9 @@ macro_rules! resize_memory {
111111
#[macro_export]
112112
#[collapse_debuginfo(yes)]
113113
macro_rules! popn {
114-
([ $($x:ident),* ],$interpreterreter:expr $(,$ret:expr)? ) => {
115-
let Some([$( $x ),*]) = $interpreterreter.stack.popn() else {
116-
$interpreterreter.halt($crate::InstructionResult::StackUnderflow);
114+
([ $($x:ident),* ],$interpreter:expr $(,$ret:expr)? ) => {
115+
let Some([$( $x ),*]) = $interpreter.stack.popn() else {
116+
$interpreter.halt($crate::InstructionResult::StackUnderflow);
117117
return $($ret)?;
118118
};
119119
};

0 commit comments

Comments
 (0)