Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Oct 31, 2023
1 parent 885227a commit 81aeca8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ fn test_roundtrip() {
}

// large blob
let mut buf = Vec::<u8>::new();
buf.resize(1000000, 0_u8);
let mut buf = vec![0; 1000000];
let n = a.new_atom(&buf).unwrap();
test_serialize_roundtrip(&mut a, n);

Expand Down

0 comments on commit 81aeca8

Please sign in to comment.