Skip to content

Commit

Permalink
fix source code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime2 committed Oct 2, 2019
1 parent 309f9e6 commit a6757c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/errors.rs
@@ -1,7 +1,7 @@
/// # Fantom/libconsensus/errors
///
/// This file defines a set of errors which are used within the consensus traits.
use failure::{Error as FailureError};
use failure::Error as FailureError;
use libcommon_rs::errors::Error as BaseError;
use libtransport::errors::Error as TransportError;

Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Expand Up @@ -8,7 +8,8 @@
/// For an example of an implementation of the traits, refer to the libconsensus-dag repository:
/// https://github.com/Fantom-foundation/libconsensus-dag.
extern crate serde_derive;
#[macro_use] extern crate failure;
#[macro_use]
extern crate failure;
use crate::errors::Result;
use futures::stream::Stream;
use libcommon_rs::peer::{Peer, PeerId};
Expand Down

0 comments on commit a6757c7

Please sign in to comment.