We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9b9677 commit 262c484Copy full SHA for 262c484
k12/tests/mod.rs
@@ -63,7 +63,7 @@ fn pat_c() {
63
hex!("75d2f86a2e644566726b4fbcfc5657b9dbcf070c7b0dca06450ab291d7443bcf"),
64
];
65
for i in 0..4 {
66
- let m: Vec<u8> = iter::repeat(0xFF).take(2usize.pow(i) - 1).collect();
+ let m: Vec<u8> = iter::repeat_n(0xFF, 2usize.pow(i) - 1).collect();
67
let len = 41usize.pow(i);
68
let c: Vec<u8> = (0..len).map(|j| (j % 251) as u8).collect();
69
let mut h = KangarooTwelve::from_core(KangarooTwelveCore::new(&c));
0 commit comments