mirror of
https://github.com/fluencelabs/interface-types
synced 2024-12-04 15:20:20 +00:00
chore(interface-types) Simplify code.
This commit is contained in:
parent
43fb922de8
commit
24a2f41c9f
@ -166,10 +166,7 @@ where
|
||||
};
|
||||
|
||||
for executable_instruction in self.iter() {
|
||||
match executable_instruction(&mut runtime) {
|
||||
Ok(_) => continue,
|
||||
Err(error) => return Err(error),
|
||||
}
|
||||
executable_instruction(&mut runtime)?;
|
||||
}
|
||||
|
||||
Ok(runtime.stack)
|
||||
|
Loading…
Reference in New Issue
Block a user