File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -462,7 +462,9 @@ fn running_benches(c: &mut Criterion) {
462
462
let ( resp_send, resp_recv) =
463
463
async_channel:: bounded ( 1 ) ;
464
464
db_send. send ( resp_send) . await . unwrap ( ) ;
465
- black_box ( resp_recv. recv ( ) . await . unwrap ( ) ) ;
465
+ core:: hint:: black_box (
466
+ resp_recv. recv ( ) . await . unwrap ( ) ,
467
+ ) ;
466
468
}
467
469
468
470
// Send the data back...
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ fn running_benches(c: &mut Criterion) {
320
320
for _ in 0 ..web_rng. usize ( STEPS / 2 ..STEPS ) {
321
321
let ( resp_send, resp_recv) = async_channel:: bounded ( 1 ) ;
322
322
db_send. send ( resp_send) . await . unwrap ( ) ;
323
- criterion :: black_box ( resp_recv. recv ( ) . await . unwrap ( ) ) ;
323
+ core :: hint :: black_box ( resp_recv. recv ( ) . await . unwrap ( ) ) ;
324
324
}
325
325
326
326
// Send the data back...
@@ -393,7 +393,7 @@ fn running_benches(c: &mut Criterion) {
393
393
for _ in 0 ..web_rng. usize ( STEPS / 2 ..STEPS ) {
394
394
let ( resp_send, resp_recv) = async_channel:: bounded ( 1 ) ;
395
395
db_send. send ( resp_send) . await . unwrap ( ) ;
396
- criterion :: black_box ( resp_recv. recv ( ) . await . unwrap ( ) ) ;
396
+ core :: hint :: black_box ( resp_recv. recv ( ) . await . unwrap ( ) ) ;
397
397
}
398
398
399
399
// Send the data back...
You can’t perform that action at this time.
0 commit comments