Skip to content

Commit

Permalink
add missing zeroize cfg in rustdocs; still working on Rudra
Browse files Browse the repository at this point in the history
  • Loading branch information
nstilt1 committed Dec 22, 2023
1 parent 8d30f5c commit d2d980b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chacha20/src/rng.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ macro_rules! impl_chacha_rng {
/// // in case you need to zeroize the RNG's buffer, ensure that
/// // the "zeroize" feature is enabled in Cargo.toml and run
/// # #[cfg(feature = "zeroize")]
/// use zeroize::Zeroize;
/// # #[cfg(feature = "zeroize")]
/// rng.zeroize();
/// ```
///
Expand Down

0 comments on commit d2d980b

Please sign in to comment.