Browse Source

cargo fmt

pull/672/head
Patrick Ventuzelo 5 years ago
parent
commit
a8cef86826
  1. 8
      crates/lightbeam/src/backend.rs

8
crates/lightbeam/src/backend.rs

@ -3178,11 +3178,9 @@ impl<'this, M: ModuleContext> Context<'this, M> {
fn pop(&mut self) -> Result<ValueLocation, Error> {
match self.block_state.stack.pop() {
Some(v) => Ok(v),
None => {
Err(Error::Microwasm(
"Stack is empty - pop impossible".to_string(),
))
}
None => Err(Error::Microwasm(
"Stack is empty - pop impossible".to_string(),
)),
}
}

Loading…
Cancel
Save