Fix rustfmt check (#927)

* Add set -e to .travis.yml
* Fix fmt
* Fix codec feature
This commit is contained in:
Carl Lerche
2019-02-24 15:41:26 -08:00
committed by GitHub
parent 0e2e07812a
commit dbb04e310c
4 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -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
View File
@@ -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>>;