Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Dec 31, 2023
1 parent 2b98104 commit 59789af
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion blake2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ pub use digest::{self, Digest};

use core::{convert::TryInto, fmt, marker::PhantomData, ops::Div};
use digest::{
array::{Array, ArraySize},
block_buffer::{Lazy, LazyBuffer},
consts::{U128, U32, U4, U64},
core_api::{
Expand All @@ -92,7 +93,6 @@ use digest::{
VariableOutputCore,
},
crypto_common::{InvalidLength, Key, KeyInit, KeySizeUser},
array::{ArraySize, Array},
typenum::{IsLessOrEqual, LeEq, NonZero, Unsigned},
FixedOutput, HashMarker, InvalidOutputSize, MacMarker, Output, Update,
};
Expand Down
2 changes: 1 addition & 1 deletion jh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ pub use digest::{self, Digest};
use crate::compressor::Compressor;
use core::fmt;
use digest::{
array::typenum::{Unsigned, U28, U32, U48, U64},
block_buffer::Eager,
core_api::{
AlgorithmName, Block, Buffer, BufferKindUser, CoreWrapper, CtVariableCoreWrapper,
TruncSide, UpdateCore, VariableOutputCore,
},
crypto_common::{BlockSizeUser, OutputSizeUser},
array::typenum::{Unsigned, U28, U32, U48, U64},
HashMarker, InvalidOutputSize, Output,
};

Expand Down
2 changes: 1 addition & 1 deletion sha3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ use core::fmt;
#[cfg(feature = "oid")]
use digest::const_oid::{AssociatedOid, ObjectIdentifier};
use digest::{
array::typenum::Unsigned,
block_buffer::Eager,
consts::{U104, U136, U144, U168, U200, U28, U32, U48, U64, U72},
core_api::{
AlgorithmName, Block, BlockSizeUser, Buffer, BufferKindUser, CoreWrapper,
ExtendableOutputCore, FixedOutputCore, OutputSizeUser, Reset, UpdateCore, XofReaderCore,
XofReaderCoreWrapper,
},
array::typenum::Unsigned,
HashMarker, Output,
};

Expand Down
2 changes: 1 addition & 1 deletion skein/benches/skein1024.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(test)]
extern crate test;

use digest::{bench_update, array::typenum::U128};
use digest::{array::typenum::U128, bench_update};
use skein::Skein1024;
use test::Bencher;

Expand Down
2 changes: 1 addition & 1 deletion skein/benches/skein256.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(test)]
extern crate test;

use digest::{bench_update, array::typenum::U32};
use digest::{array::typenum::U32, bench_update};
use skein::Skein256;
use test::Bencher;

Expand Down
2 changes: 1 addition & 1 deletion skein/benches/skein512.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(test)]
extern crate test;

use digest::{bench_update, array::typenum::U64};
use digest::{array::typenum::U64, bench_update};
use skein::Skein512;
use test::Bencher;

Expand Down

0 comments on commit 59789af

Please sign in to comment.