diff options
author | Carl Lerche <me@carllerche.com> | 2019-05-14 10:27:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 10:27:36 -0700 |
commit | cb4aea394e6851ae8cc45a68beeaf2c93cc9a0c0 (patch) | |
tree | 2158eab230c8717d3b35717e50f14fda6ca0edf1 /tokio-codec/tests/framed.rs | |
parent | 79d88200500f6e6c9970e1ad26469276c1a2f71f (diff) |
Update Tokio to Rust 2018 (#1082)
Diffstat (limited to 'tokio-codec/tests/framed.rs')
-rw-r--r-- | tokio-codec/tests/framed.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tokio-codec/tests/framed.rs b/tokio-codec/tests/framed.rs index 53aafcbc..b17472ff 100644 --- a/tokio-codec/tests/framed.rs +++ b/tokio-codec/tests/framed.rs @@ -1,7 +1,4 @@ -extern crate bytes; -extern crate futures; -extern crate tokio_codec; -extern crate tokio_io; +#![deny(warnings, rust_2018_idioms)] use bytes::{Buf, BufMut, BytesMut, IntoBuf}; use futures::{Future, Stream}; |