Format with rustfmt (#389)

* Format with rustfmt

* Add rustfmt check to CI
This commit is contained in:
Taiki Endo
2020-05-22 13:17:30 +09:00
committed by GitHub
parent 5e93fa4c6b
commit 1fbf83816b
27 changed files with 410 additions and 331 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
#![deny(warnings, rust_2018_idioms)]
use bytes::{BufMut, BytesMut};
#[cfg(feature = "std")]
use bytes::buf::IoSliceMut;
use core::usize;
use bytes::{BufMut, BytesMut};
use core::fmt::Write;
use core::usize;
#[test]
fn test_vec_as_mut_buf() {