Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Feb 18, 2021
1 parent c453ccd commit c111caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmtime/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ impl Store {
match self.block_on(unsafe { Pin::new_unchecked(&mut future) }) {
// If this finished successfully then we were resumed normally via a
// `poll`, so inject some more fuel and keep going.
Ok(()) => self.add_fuel(fuel_to_inject),
Ok(()) => self.add_fuel(fuel_to_inject).unwrap(),
// If the future was dropped while we were yielded, then we need to
// clean up this fiber. Do so by raising a trap which will abort all
// wasm and get caught on the other side to clean things up.
Expand Down

0 comments on commit c111caf

Please sign in to comment.