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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use signature::KeyPairUtil;
|
|
||||||
use hash::hash;
|
|
||||||
use bincode::serialize;
|
use bincode::serialize;
|
||||||
|
use hash::hash;
|
||||||
|
use signature::KeyPairUtil;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_accountant() {
|
fn test_accountant() {
|
||||||
|
@ -412,9 +412,9 @@ mod bench {
|
||||||
extern crate test;
|
extern crate test;
|
||||||
use self::test::Bencher;
|
use self::test::Bencher;
|
||||||
use accountant::*;
|
use accountant::*;
|
||||||
use signature::KeyPairUtil;
|
|
||||||
use hash::hash;
|
|
||||||
use bincode::serialize;
|
use bincode::serialize;
|
||||||
|
use hash::hash;
|
||||||
|
use signature::KeyPairUtil;
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
fn process_verified_event_bench(bencher: &mut Bencher) {
|
fn process_verified_event_bench(bencher: &mut Bencher) {
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
use accountant::Accountant;
|
use accountant::Accountant;
|
||||||
use bincode::{deserialize, serialize};
|
use bincode::{deserialize, serialize};
|
||||||
|
use ecdsa;
|
||||||
use entry::Entry;
|
use entry::Entry;
|
||||||
use event::Event;
|
use event::Event;
|
||||||
use ecdsa;
|
|
||||||
use hash::Hash;
|
use hash::Hash;
|
||||||
use historian::Historian;
|
use historian::Historian;
|
||||||
use packet;
|
use packet;
|
||||||
|
|
|
@ -8,9 +8,9 @@ use std::mem::size_of;
|
||||||
#[cfg(not(feature = "cuda"))]
|
#[cfg(not(feature = "cuda"))]
|
||||||
use rayon::prelude::*;
|
use rayon::prelude::*;
|
||||||
#[cfg(not(feature = "cuda"))]
|
#[cfg(not(feature = "cuda"))]
|
||||||
use untrusted;
|
|
||||||
#[cfg(not(feature = "cuda"))]
|
|
||||||
use ring::signature;
|
use ring::signature;
|
||||||
|
#[cfg(not(feature = "cuda"))]
|
||||||
|
use untrusted;
|
||||||
|
|
||||||
// Shared imports
|
// Shared imports
|
||||||
use packet::{Packet, SharedPackets};
|
use packet::{Packet, SharedPackets};
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
pub mod accountant;
|
pub mod accountant;
|
||||||
pub mod accountant_skel;
|
pub mod accountant_skel;
|
||||||
pub mod accountant_stub;
|
pub mod accountant_stub;
|
||||||
|
pub mod ecdsa;
|
||||||
pub mod entry;
|
pub mod entry;
|
||||||
pub mod event;
|
pub mod event;
|
||||||
pub mod ecdsa;
|
|
||||||
pub mod hash;
|
pub mod hash;
|
||||||
pub mod historian;
|
pub mod historian;
|
||||||
pub mod ledger;
|
pub mod ledger;
|
||||||
|
|
Loading…
Reference in New Issue