File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,10 @@ use std::task::{self, Poll};
15
15
use std:: time:: { Duration , Instant } ;
16
16
17
17
use futures_channel:: oneshot;
18
+ use futures_util:: ready;
18
19
use tracing:: { debug, trace} ;
19
20
20
- use crate :: common:: { exec, exec :: Exec , ready } ;
21
+ use crate :: common:: exec:: { self , Exec } ;
21
22
22
23
// FIXME: allow() required due to `impl Trait` leaking types to this lint
23
24
#[ allow( missing_debug_implementations) ]
Original file line number Diff line number Diff line change 1
1
#![ allow( missing_docs) ]
2
2
3
- macro_rules! ready {
4
- ( $e: expr) => {
5
- match $e {
6
- std:: task:: Poll :: Ready ( v) => v,
7
- std:: task:: Poll :: Pending => return std:: task:: Poll :: Pending ,
8
- }
9
- } ;
10
- }
11
-
12
- pub ( crate ) use ready;
13
3
pub ( crate ) mod exec;
14
4
#[ cfg( feature = "client" ) ]
15
5
mod lazy;
You can’t perform that action at this time.
0 commit comments