From cb4aea394e6851ae8cc45a68beeaf2c93cc9a0c0 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 14 May 2019 10:27:36 -0700 Subject: Update Tokio to Rust 2018 (#1082) --- tokio-io/src/io/read_exact.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tokio-io/src/io/read_exact.rs') diff --git a/tokio-io/src/io/read_exact.rs b/tokio-io/src/io/read_exact.rs index 3b98621a..43e8bc0a 100644 --- a/tokio-io/src/io/read_exact.rs +++ b/tokio-io/src/io/read_exact.rs @@ -1,10 +1,8 @@ +use crate::AsyncRead; +use futures::{try_ready, Future, Poll}; use std::io; use std::mem; -use futures::{Future, Poll}; - -use AsyncRead; - /// A future which can be used to easily read exactly enough bytes to fill /// a buffer. /// -- cgit v1.2.3