Skip to content
Snippets Groups Projects
Commit d22f541c authored by Stephen D's avatar Stephen D
Browse files

clippy fix

parent 3f423d2b
No related branches found
No related tags found
No related merge requests found
......@@ -76,10 +76,10 @@ mod tests {
let mut actual_out = [0; 16];
let mut state = start;
for i in 0..16 {
for a in &mut actual_out {
let (out, ns) = lfsr_byte(state);
state = ns;
actual_out[i] = out;
*a = out;
}
assert_eq!(expected_out, actual_out);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment