Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #175 from agunde406/fix-lint
Browse files Browse the repository at this point in the history
Remove explicit call to .into_iter()
  • Loading branch information
agunde406 authored Sep 29, 2023
2 parents fdc5073 + 11c156f commit aaacf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsawtooth/src/hashlib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn sha256_digest_strs(strs: &[String]) -> Vec<u8> {
hasher.update(item.as_bytes());
}
let mut bytes = Vec::new();
bytes.extend(hasher.finalize().into_iter());
bytes.extend(hasher.finalize());
bytes
}

Expand Down

0 comments on commit aaacf8b

Please sign in to comment.