spacing around comas

This commit is contained in:
Arkadiy Paronyan 2017-09-02 09:57:53 +02:00 committed by GitHub
parent abfa8e95a2
commit ffae847b48

View File

@ -31,11 +31,11 @@ pub trait ChainDataFetcher: Send + Sync + 'static {
type Error: ::std::fmt::Debug; type Error: ::std::fmt::Debug;
/// Future for fetching block body. /// Future for fetching block body.
type Body: IntoFuture<Item=encoded::Block,Error=Self::Error>; type Body: IntoFuture<Item=encoded::Block, Error=Self::Error>;
/// Future for fetching block receipts. /// Future for fetching block receipts.
type Receipts: IntoFuture<Item=Vec<Receipt>,Error=Self::Error>; type Receipts: IntoFuture<Item=Vec<Receipt>, Error=Self::Error>;
/// Future for fetching epoch transition /// Future for fetching epoch transition
type Transition: IntoFuture<Item=Vec<u8>,Error=Self::Error>; type Transition: IntoFuture<Item=Vec<u8>, Error=Self::Error>;
/// Fetch a block body. /// Fetch a block body.
fn block_body(&self, header: &Header) -> Self::Body; fn block_body(&self, header: &Header) -> Self::Body;