Fix the nightly build

Nightly uses a different (but backward compatible) version of rustfmt.
This commit is contained in:
Greg Fitzgerald 2018-04-05 22:39:07 -06:00
parent 491a530d90
commit 5fc81dd6c8
4 changed files with 8 additions and 8 deletions

View File

@ -259,9 +259,9 @@ impl Accountant {
#[cfg(test)]
mod tests {
use super::*;
use signature::KeyPairUtil;
use hash::hash;
use bincode::serialize;
use hash::hash;
use signature::KeyPairUtil;
#[test]
fn test_accountant() {
@ -412,9 +412,9 @@ mod bench {
extern crate test;
use self::test::Bencher;
use accountant::*;
use signature::KeyPairUtil;
use hash::hash;
use bincode::serialize;
use hash::hash;
use signature::KeyPairUtil;
#[bench]
fn process_verified_event_bench(bencher: &mut Bencher) {

View File

@ -4,9 +4,9 @@
use accountant::Accountant;
use bincode::{deserialize, serialize};
use ecdsa;
use entry::Entry;
use event::Event;
use ecdsa;
use hash::Hash;
use historian::Historian;
use packet;

View File

@ -8,9 +8,9 @@ use std::mem::size_of;
#[cfg(not(feature = "cuda"))]
use rayon::prelude::*;
#[cfg(not(feature = "cuda"))]
use untrusted;
#[cfg(not(feature = "cuda"))]
use ring::signature;
#[cfg(not(feature = "cuda"))]
use untrusted;
// Shared imports
use packet::{Packet, SharedPackets};

View File

@ -2,9 +2,9 @@
pub mod accountant;
pub mod accountant_skel;
pub mod accountant_stub;
pub mod ecdsa;
pub mod entry;
pub mod event;
pub mod ecdsa;
pub mod hash;
pub mod historian;
pub mod ledger;