Skip to content

Commit

Permalink
k12: fix Clippy lint (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Feb 24, 2025
1 parent a9b9677 commit 262c484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k12/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn pat_c() {
hex!("75d2f86a2e644566726b4fbcfc5657b9dbcf070c7b0dca06450ab291d7443bcf"),
];
for i in 0..4 {
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();
let len = 41usize.pow(i);
let c: Vec<u8> = (0..len).map(|j| (j % 251) as u8).collect();
let mut h = KangarooTwelve::from_core(KangarooTwelveCore::new(&c));
Expand Down

0 comments on commit 262c484

Please sign in to comment.