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

Commit aaacf8b

Browse files
authored
Merge pull request #175 from agunde406/fix-lint
Remove explicit call to .into_iter()
2 parents fdc5073 + 11c156f commit aaacf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsawtooth/src/hashlib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub fn sha256_digest_strs(strs: &[String]) -> Vec<u8> {
2727
hasher.update(item.as_bytes());
2828
}
2929
let mut bytes = Vec::new();
30-
bytes.extend(hasher.finalize().into_iter());
30+
bytes.extend(hasher.finalize());
3131
bytes
3232
}
3333

0 commit comments

Comments
 (0)