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) {
380380 let ( resp_send, resp_recv) =
381381 async_channel:: bounded ( 1 ) ;
382382 db_send. send ( resp_send) . await . unwrap ( ) ;
383- criterion :: black_box (
383+ core :: hint :: black_box (
384384 resp_recv. recv ( ) . await . unwrap ( ) ,
385385 ) ;
386386 }
@@ -461,7 +461,7 @@ fn running_benches(c: &mut Criterion) {
461461 let ( resp_send, resp_recv) =
462462 async_channel:: bounded ( 1 ) ;
463463 db_send. send ( resp_send) . await . unwrap ( ) ;
464- criterion :: black_box (
464+ core :: hint :: black_box (
465465 resp_recv. recv ( ) . await . unwrap ( ) ,
466466 ) ;
467467 }
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ fn running_benches(c: &mut Criterion) {
320320 for _ in 0 ..web_rng. usize ( STEPS / 2 ..STEPS ) {
321321 let ( resp_send, resp_recv) = async_channel:: bounded ( 1 ) ;
322322 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 ( ) ) ;
324324 }
325325
326326 // Send the data back...
@@ -393,7 +393,7 @@ fn running_benches(c: &mut Criterion) {
393393 for _ in 0 ..web_rng. usize ( STEPS / 2 ..STEPS ) {
394394 let ( resp_send, resp_recv) = async_channel:: bounded ( 1 ) ;
395395 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 ( ) ) ;
397397 }
398398
399399 // Send the data back...
You can’t perform that action at this time.
0 commit comments