Update Tokio to Rust 2018 (#1082)

This commit is contained in:
Carl Lerche
2019-05-14 10:27:36 -07:00
committed by GitHub
parent 79d8820050
commit cb4aea394e
343 changed files with 1725 additions and 2813 deletions
+6 -7
View File
@@ -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.
///