@@ -11,14 +11,14 @@ use {
1111 sink:: Sink ,
1212 task:: { Waker , Poll } ,
1313 } ,
14- futures_test:: task:: noop_local_waker_ref ,
14+ futures_test:: task:: noop_waker_ref ,
1515 std:: pin:: Pin ,
1616} ;
1717
1818/// Single producer, single consumer
1919#[ bench]
2020fn unbounded_1_tx ( b : & mut Bencher ) {
21- let waker = noop_local_waker_ref ( ) ;
21+ let waker = noop_waker_ref ( ) ;
2222 b. iter ( || {
2323 let ( tx, mut rx) = mpsc:: unbounded ( ) ;
2424
@@ -40,7 +40,7 @@ fn unbounded_1_tx(b: &mut Bencher) {
4040/// 100 producers, single consumer
4141#[ bench]
4242fn unbounded_100_tx ( b : & mut Bencher ) {
43- let waker = noop_local_waker_ref ( ) ;
43+ let waker = noop_waker_ref ( ) ;
4444 b. iter ( || {
4545 let ( tx, mut rx) = mpsc:: unbounded ( ) ;
4646
@@ -61,7 +61,7 @@ fn unbounded_100_tx(b: &mut Bencher) {
6161
6262#[ bench]
6363fn unbounded_uncontended ( b : & mut Bencher ) {
64- let waker = noop_local_waker_ref ( ) ;
64+ let waker = noop_waker_ref ( ) ;
6565 b. iter ( || {
6666 let ( tx, mut rx) = mpsc:: unbounded ( ) ;
6767
@@ -101,7 +101,7 @@ impl Stream for TestSender {
101101/// Single producers, single consumer
102102#[ bench]
103103fn bounded_1_tx ( b : & mut Bencher ) {
104- let waker = noop_local_waker_ref ( ) ;
104+ let waker = noop_waker_ref ( ) ;
105105 b. iter ( || {
106106 let ( tx, mut rx) = mpsc:: channel ( 0 ) ;
107107
@@ -118,7 +118,7 @@ fn bounded_1_tx(b: &mut Bencher) {
118118/// 100 producers, single consumer
119119#[ bench]
120120fn bounded_100_tx ( b : & mut Bencher ) {
121- let waker = noop_local_waker_ref ( ) ;
121+ let waker = noop_waker_ref ( ) ;
122122 b. iter ( || {
123123 // Each sender can send one item after specified capacity
124124 let ( tx, mut rx) = mpsc:: channel ( 0 ) ;
0 commit comments