File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ fn running_benches(c: &mut Criterion) {
380
380
let ( resp_send, resp_recv) =
381
381
async_channel:: bounded ( 1 ) ;
382
382
db_send. send ( resp_send) . await . unwrap ( ) ;
383
- criterion :: black_box (
383
+ core :: hint :: black_box (
384
384
resp_recv. recv ( ) . await . unwrap ( ) ,
385
385
) ;
386
386
}
@@ -461,7 +461,7 @@ fn running_benches(c: &mut Criterion) {
461
461
let ( resp_send, resp_recv) =
462
462
async_channel:: bounded ( 1 ) ;
463
463
db_send. send ( resp_send) . await . unwrap ( ) ;
464
- criterion :: black_box (
464
+ core :: hint :: black_box (
465
465
resp_recv. recv ( ) . await . unwrap ( ) ,
466
466
) ;
467
467
}
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