Skip to content

Commit

Permalink
benchmarks: fix a clippy issue. (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipuustin authored Jun 14, 2023
1 parent 62c6b7a commit 70830a1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,9 @@ fn run_wasmtime_test_with_spec(

wasi.start()?;

let w = wasi.clone();
let (tx, rx) = channel();
let waiter = Wait::new(tx);
w.wait(&waiter).unwrap();
wasi.wait(&waiter).unwrap();

let res = match rx.recv_timeout(Duration::from_secs(60)) {
Ok(res) => Ok(res),
Expand Down

0 comments on commit 70830a1

Please sign in to comment.