Skip to content

Commit 61722e5

Browse files
committed
chore: address clippy warnings
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent e468ab2 commit 61722e5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

benches/bench.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ fn bench_wasm_ping_direct(
204204
handler
205205
.ping(None::<async_nats::HeaderMap>)
206206
.await
207-
.expect("failed to call handler")
208-
})
207+
.expect("failed to call handler");
208+
});
209209
});
210210
Ok(())
211211
}
@@ -225,7 +225,7 @@ fn bench_wasm_greet_direct(
225225
.await
226226
.expect("failed to call handler");
227227
assert_eq!(greeting, "Hello, test");
228-
})
228+
});
229229
});
230230
Ok(())
231231
}
@@ -272,7 +272,7 @@ where
272272
.expect("failed to send message");
273273
assert!(status.is_none());
274274
assert_eq!(payload, expect);
275-
})
275+
});
276276
});
277277
stop_tx.send(()).expect("failed to stop server");
278278
rt.block_on(async { srv.await.context("server task panicked")? })?;
@@ -470,7 +470,7 @@ fn bench_wasm_ping_nats_wrpc(
470470
ping_bindings_wrpc::wrpc_bench::bench::ping::ping(&wrpc, None)
471471
.await
472472
.expect("failed to call `ping`");
473-
})
473+
});
474474
});
475475
stop_tx.send(()).expect("failed to stop server");
476476
rt.block_on(async { srv.await.context("server task panicked")? })?;
@@ -522,7 +522,7 @@ fn bench_wasm_greet_nats_wrpc(
522522
greet_bindings_wrpc::wrpc_bench::bench::greet::greet(&wrpc, None, "test")
523523
.await
524524
.expect("failed to call `greet`");
525-
})
525+
});
526526
});
527527
stop_tx.send(()).expect("failed to stop server");
528528
rt.block_on(async { srv.await.context("server task panicked")? })?;
@@ -568,7 +568,7 @@ fn bench_nats_wrpc_ping(g: &mut BenchmarkGroup<impl Measurement>) -> anyhow::Res
568568
ping_bindings_wrpc::wrpc_bench::bench::ping::ping(&wrpc, None)
569569
.await
570570
.expect("failed to call `ping`");
571-
})
571+
});
572572
});
573573
stop_tx.send(()).expect("failed to stop server");
574574
rt.block_on(async { srv.await.context("server task panicked")? })?;
@@ -615,7 +615,7 @@ fn bench_nats_wrpc_greet(g: &mut BenchmarkGroup<impl Measurement>) -> anyhow::Re
615615
.await
616616
.expect("failed to call `greet`");
617617
assert_eq!(greeting, "Hello, test");
618-
})
618+
});
619619
});
620620
stop_tx.send(()).expect("failed to stop server");
621621
rt.block_on(async { srv.await.context("server task panicked")? })?;

0 commit comments

Comments
 (0)