diff --git a/src/io/read/mod.rs b/src/io/read/mod.rs index 3cd2350..cf858b2 100644 --- a/src/io/read/mod.rs +++ b/src/io/read/mod.rs @@ -1,14 +1,14 @@ mod read; -mod read_vectored; -mod read_to_end; mod read_exact; +mod read_to_end; mod read_to_string; +mod read_vectored; -use read_to_string::ReadToStringFuture; -use read_to_end::{ReadToEndFuture, read_to_end_internal}; use read::ReadFuture; -use read_vectored::ReadVectoredFuture; use read_exact::ReadExactFuture; +use read_to_end::{read_to_end_internal, ReadToEndFuture}; +use read_to_string::ReadToStringFuture; +use read_vectored::ReadVectoredFuture; use std::io::IoSliceMut; use std::mem; diff --git a/src/io/read/read.rs b/src/io/read/read.rs index 5f729e8..0f88353 100644 --- a/src/io/read/read.rs +++ b/src/io/read/read.rs @@ -1,8 +1,8 @@ use crate::future::Future; use crate::task::{Context, Poll}; -use std::pin::Pin; use std::io; +use std::pin::Pin; use futures_io::AsyncRead; diff --git a/src/io/read/read_exact.rs b/src/io/read/read_exact.rs index 1e960d2..ffc3600 100644 --- a/src/io/read/read_exact.rs +++ b/src/io/read/read_exact.rs @@ -2,8 +2,8 @@ use crate::future::Future; use crate::task::{Context, Poll}; use std::io; -use std::pin::Pin; use std::mem; +use std::pin::Pin; use futures_io::AsyncRead; diff --git a/src/io/read/read_to_string.rs b/src/io/read/read_to_string.rs index 10daba5..9a3bced 100644 --- a/src/io/read/read_to_string.rs +++ b/src/io/read/read_to_string.rs @@ -1,11 +1,11 @@ +use super::read_to_end_internal; use crate::future::Future; use crate::task::{Context, Poll}; -use super::read_to_end_internal; use std::io; +use std::mem; use std::pin::Pin; use std::str; -use std::mem; use futures_io::AsyncRead; diff --git a/src/io/write/mod.rs b/src/io/write/mod.rs index 41a00c1..98fd834 100644 --- a/src/io/write/mod.rs +++ b/src/io/write/mod.rs @@ -1,11 +1,11 @@ mod flush; -mod write_all; mod write; +mod write_all; mod write_vectored; use flush::FlushFuture; -use write_all::WriteAllFuture; use write::WriteFuture; +use write_all::WriteAllFuture; use write_vectored::WriteVectoredFuture; use std::io::IoSlice; diff --git a/src/io/write/write_all.rs b/src/io/write/write_all.rs index a5c3090..d43854a 100644 --- a/src/io/write/write_all.rs +++ b/src/io/write/write_all.rs @@ -2,8 +2,8 @@ use crate::future::Future; use crate::task::{Context, Poll}; use std::io; -use std::pin::Pin; use std::mem; +use std::pin::Pin; use futures_io::AsyncWrite; diff --git a/src/io/write/write_vectored.rs b/src/io/write/write_vectored.rs index fadf2fc..0f3e49a 100644 --- a/src/io/write/write_vectored.rs +++ b/src/io/write/write_vectored.rs @@ -2,8 +2,8 @@ use crate::future::Future; use crate::task::{Context, Poll}; use std::io; -use std::pin::Pin; use std::io::IoSlice; +use std::pin::Pin; use futures_io::AsyncWrite;