Skip to content

Commit a6dda41

Browse files
authored
Update zeroize/src/lib.rs
1 parent 71dd2f0 commit a6dda41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎zeroize/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ where
523523
{
524524
/// "Best effort" zeroization for `Vec`.
525525
///
526-
/// Ensures the entire capacity of the `Vec` is zeroed. Cannot ensure that
526+
/// Call `Zeroize` on all `Vec` elements and spare capacity. Cannot ensure that
527527
/// previous reallocations did not leave values on the heap.
528528
fn zeroize(&mut self) {
529529
// Zero the spare (uninitialized) capacity first, i.e. everything

0 commit comments

Comments
 (0)