diff --git a/secret-memory/src/secret.rs b/secret-memory/src/secret.rs index e792c6d3..90282ef6 100644 --- a/secret-memory/src/secret.rs +++ b/secret-memory/src/secret.rs @@ -184,7 +184,7 @@ impl SecretMemoryPool { /// my_secret.randomize(); /// // In case I accidentally print my secret in a debug, it's still not leaked: /// assert_eq!(format!("{:?}", my_secret), ""); -/// // The data will be zeroized either way in the end, but for good measure, let's zeroize anymay. +/// // If you need to, you can zeroize a [Secret] at any time it's necessary: /// my_secret.zeroize(); /// ``` pub struct Secret {