Use zeroize instead of 0-sets

This commit is contained in:
Luke Parker
2022-08-12 01:14:13 -04:00
parent 42a3d38b48
commit a423c23c1e
4 changed files with 5 additions and 5 deletions

View File

@@ -232,7 +232,7 @@ where
// Accumulate this bit
these_bits |= bit << (i % bits_per_group);
bit = 0;
bit.zeroize();
if (i % bits_per_group) == (bits_per_group - 1) {
let last = i == (capacity - 1);