Skip to content

Commit

Permalink
Remove unnecessary mut
Browse files Browse the repository at this point in the history
  • Loading branch information
nessex committed Nov 6, 2021
1 parent 740c2aa commit 29c21ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ mod tests {

#[test]
fn test_readme_example() {
let mut out: Vec<usize> = (0..=100).rlp_iter().collect();
let out: Vec<usize> = (0..=100).rlp_iter().collect();

assert_eq!(out[0..9], [0, 100, 50, 25, 75, 13, 38, 63, 88]);
}
Expand Down

0 comments on commit 29c21ab

Please sign in to comment.