mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-30 00:00:16 +02:00
Update Tokio to Rust 2018 (#1082)
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
use bytes::BufMut;
|
||||
use futures::{Async, Poll};
|
||||
use std::io as std_io;
|
||||
|
||||
#[allow(deprecated)]
|
||||
use codec::{Decoder, Encoder, Framed};
|
||||
use split::{ReadHalf, WriteHalf};
|
||||
use {framed, split, AsyncWrite};
|
||||
use crate::codec::{Decoder, Encoder, Framed};
|
||||
use crate::split::{ReadHalf, WriteHalf};
|
||||
use crate::{framed, split, AsyncWrite};
|
||||
use bytes::BufMut;
|
||||
use futures::{try_ready, Async, Poll};
|
||||
use std::io as std_io;
|
||||
|
||||
/// Read bytes asynchronously.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user