Skip to content

Commit 57c51b2

Browse files
committed
bash-prg-hash: cargo-fmt
1 parent bacda34 commit 57c51b2

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

bash-prg-hash/tests/mod.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ macro_rules! test_bash_prg_rand {
1717
use digest::typenum::Unsigned;
1818
let mut h = <$hasher>::default();
1919
digest::dev::feed_rand_16mib(&mut h);
20-
let mut output = [
21-
0u8;
22-
<<$hasher as CollisionResistance>::CollisionResistance as Unsigned>::USIZE
23-
* 2
24-
];
20+
let mut output = [0u8;
21+
<<$hasher as CollisionResistance>::CollisionResistance as Unsigned>::USIZE * 2];
2522
h.finalize_xof_into(&mut output);
2623
assert_eq!(&output[..], $expected);
2724
}

0 commit comments

Comments
 (0)