diff options
author | Carl Lerche <me@carllerche.com> | 2019-10-26 08:02:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 08:02:49 -0700 |
commit | 987ba7373cf95c570bf23768c6021f7a7508286e (patch) | |
tree | 616c62a65cb6b0c7e4c3e31f92f01c8d4749b0c3 /tokio/src/net/tcp/split.rs | |
parent | 227533d456fe32e48ffcd3796f1e6c8f9318b230 (diff) |
io: move into `tokio` crate (#1691)
A step towards collapsing Tokio sub crates into a single `tokio`
crate (#1318).
The `io` implementation is now provided by the main `tokio` crate.
Functionality can be opted out of by using the various net related
feature flags.
Diffstat (limited to 'tokio/src/net/tcp/split.rs')
-rw-r--r-- | tokio/src/net/tcp/split.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio/src/net/tcp/split.rs b/tokio/src/net/tcp/split.rs index db937267..07c7c3ff 100644 --- a/tokio/src/net/tcp/split.rs +++ b/tokio/src/net/tcp/split.rs @@ -8,9 +8,8 @@ //! split has no associated overhead and enforces all invariants at the type //! level. -use super::TcpStream; - -use tokio_io::{AsyncRead, AsyncWrite}; +use crate::io::{AsyncRead, AsyncWrite}; +use crate::net::TcpStream; use bytes::{Buf, BufMut}; use std::io; |