Fix the nightly build
Nightly uses a different (but backward compatible) version of rustfmt.
This commit is contained in:
parent
491a530d90
commit
5fc81dd6c8
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue