File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ members = ["examples/*"]
2121
2222[dependencies ]
2323bytes = " 1.4"
24- futures = " 0.3"
2524indexmap = " 1.9"
2625rand = { version = " 0.8.5" , features = [" small_rng" ] }
2726rand_distr = " 0.4.3"
Original file line number Diff line number Diff line change 1+ use std:: future:: Future ;
12use std:: mem;
23use std:: pin:: Pin ;
34use std:: sync:: Arc ;
45
5- use futures:: Future ;
66use tokio:: runtime:: Runtime ;
77use tokio:: task:: JoinHandle ;
88use tokio:: task:: LocalSet ;
Original file line number Diff line number Diff line change @@ -1052,9 +1052,7 @@ mod test {
10521052
10531053 let how_many = 3 ;
10541054 for i in 0 ..how_many {
1055- sim. host ( format ! ( "host-{i}" ) , || async {
1056- futures:: future:: pending ( ) . await
1057- } )
1055+ sim. host ( format ! ( "host-{i}" ) , || async { future:: pending ( ) . await } )
10581056 }
10591057
10601058 let mut ips = sim. lookup_many ( regex:: Regex :: new ( ".*" ) ?) ;
You can’t perform that action at this time.
0 commit comments