Skip to content

Commit

Permalink
death by lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jack60612 committed Jul 10, 2024
1 parent ab79d83 commit 1a609a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/sha256_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn gen_bytes(value: u8, amount: u8) -> Vec<u8> {

fn hash_bytes(bytes: &[u8]) -> [u8; 32] {
let mut sha256 = Sha256::new();
sha256.update(&bytes);
sha256.update(bytes);
sha256.finalize()
}

Expand Down

0 comments on commit 1a609a6

Please sign in to comment.