File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -383,9 +383,7 @@ fn running_benches(c: &mut Criterion) {
383383 let ( resp_send, resp_recv) =
384384 async_channel:: bounded ( 1 ) ;
385385 db_send. send ( resp_send) . await . unwrap ( ) ;
386- black_box (
387- resp_recv. recv ( ) . await . unwrap ( ) ,
388- ) ;
386+ black_box ( resp_recv. recv ( ) . await . unwrap ( ) ) ;
389387 }
390388
391389 // Send the data back...
@@ -464,9 +462,7 @@ fn running_benches(c: &mut Criterion) {
464462 let ( resp_send, resp_recv) =
465463 async_channel:: bounded ( 1 ) ;
466464 db_send. send ( resp_send) . await . unwrap ( ) ;
467- black_box (
468- resp_recv. recv ( ) . await . unwrap ( ) ,
469- ) ;
465+ black_box ( resp_recv. recv ( ) . await . unwrap ( ) ) ;
470466 }
471467
472468 // Send the data back...
Original file line number Diff line number Diff line change 1- use std:: mem;
21use std:: hint:: black_box;
2+ use std:: mem;
33
44use async_executor:: { Executor , LocalExecutor , StaticLocalExecutor } ;
55use criterion:: { criterion_group, criterion_main, Criterion } ;
You can’t perform that action at this time.
0 commit comments