diff options
Diffstat (limited to 'tokio-io/src/io/shutdown.rs')
-rw-r--r-- | tokio-io/src/io/shutdown.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tokio-io/src/io/shutdown.rs b/tokio-io/src/io/shutdown.rs index d963a813..a7e092c0 100644 --- a/tokio-io/src/io/shutdown.rs +++ b/tokio-io/src/io/shutdown.rs @@ -1,9 +1,7 @@ +use crate::AsyncWrite; +use futures::{try_ready, Async, Future, Poll}; use std::io; -use futures::{Async, Future, Poll}; - -use AsyncWrite; - /// A future used to fully shutdown an I/O object. /// /// Resolves to the underlying I/O object once the shutdown operation is |