summaryrefslogtreecommitdiffstats
path: root/tokio-io/src/io/read_to_end.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-io/src/io/read_to_end.rs')
-rw-r--r--tokio-io/src/io/read_to_end.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tokio-io/src/io/read_to_end.rs b/tokio-io/src/io/read_to_end.rs
index 296af6e3..8f65eb53 100644
--- a/tokio-io/src/io/read_to_end.rs
+++ b/tokio-io/src/io/read_to_end.rs
@@ -1,10 +1,8 @@
+use crate::AsyncRead;
+use futures::{Future, Poll};
use std::io;
use std::mem;
-use futures::{Future, Poll};
-
-use AsyncRead;
-
/// A future which can be used to easily read the entire contents of a stream
/// into a vector.
///