Use rustfmt to enforce consistent formatting
This change adds a .rustfmt.toml that includes ALL supported settings, 12 of which we have overridden to attempt to cater to our own proclivities. rustfmt is checked in the rust-nightly CI job.
This commit is contained in:
@@ -8,7 +8,7 @@ mod streams;
|
||||
pub(crate) use self::connection::Connection;
|
||||
pub(crate) use self::error::Error;
|
||||
pub(crate) use self::peer::Peer;
|
||||
pub(crate) use self::streams::{Streams, StreamRef};
|
||||
pub(crate) use self::streams::{StreamRef, Streams};
|
||||
|
||||
use codec::Codec;
|
||||
|
||||
@@ -18,7 +18,7 @@ use self::streams::Prioritized;
|
||||
|
||||
use frame::{self, Frame};
|
||||
|
||||
use futures::{task, Poll, Async};
|
||||
use futures::{task, Async, Poll};
|
||||
use futures::task::Task;
|
||||
|
||||
use bytes::Buf;
|
||||
|
||||
Reference in New Issue
Block a user