diff options
Diffstat (limited to 'tokio-io/src/io/copy.rs')
-rw-r--r-- | tokio-io/src/io/copy.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tokio-io/src/io/copy.rs b/tokio-io/src/io/copy.rs index e8a1dac9..369800db 100644 --- a/tokio-io/src/io/copy.rs +++ b/tokio-io/src/io/copy.rs @@ -1,9 +1,7 @@ +use crate::{AsyncRead, AsyncWrite}; +use futures::{try_ready, Future, Poll}; use std::io; -use futures::{Future, Poll}; - -use {AsyncRead, AsyncWrite}; - /// A future which will copy all data from a reader into a writer. /// /// Created by the [`copy`] function, this future will resolve to the number of |