chore(interface-types) Simplify code.

This commit is contained in:
Ivan Enderlin 2020-03-12 14:51:18 +01:00
parent 43fb922de8
commit 24a2f41c9f

View File

@ -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)