mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
Fix rustfmt check (#927)
* Add set -e to .travis.yml * Fix fmt * Fix codec feature
This commit is contained in:
@@ -17,11 +17,11 @@ extern crate either;
|
||||
extern crate futures;
|
||||
|
||||
mod never;
|
||||
#[cfg(feature = "util")]
|
||||
pub mod util;
|
||||
mod size_hint;
|
||||
mod str;
|
||||
mod u8;
|
||||
#[cfg(feature = "util")]
|
||||
pub mod util;
|
||||
|
||||
pub use self::size_hint::SizeHint;
|
||||
#[doc(inline)]
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
use BufStream;
|
||||
use never::Never;
|
||||
use bytes::{Bytes, BytesMut};
|
||||
use futures::Poll;
|
||||
use never::Never;
|
||||
use std::io;
|
||||
use BufStream;
|
||||
|
||||
impl BufStream for Vec<u8> {
|
||||
type Item = io::Cursor<Vec<u8>>;
|
||||
|
||||
Reference in New Issue
Block a user