io: flatten split module (#1802)

This commit is contained in:
Carl Lerche
2019-11-20 14:45:38 -08:00
committed by GitHub
parent c223db3589
commit 502cf5d95c
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ cfg_io_std! {
}
cfg_io_util! {
pub mod split;
pub use split::split;
mod split;
pub use split::{split, ReadHalf, WriteHalf};
pub(crate) mod util;
pub use util::{
+1 -2
View File
@@ -1,5 +1,4 @@
use tokio::io::split::{ReadHalf, WriteHalf};
use tokio::io::{split, AsyncRead, AsyncWrite};
use tokio::io::{split, AsyncRead, AsyncWrite, ReadHalf, WriteHalf};
use std::io;
use std::pin::Pin;