From d2d980bf9d57603200754249c3eac76c5c424d6d Mon Sep 17 00:00:00 2001 From: Noah Stiltner Date: Fri, 22 Dec 2023 11:49:45 -0600 Subject: [PATCH] add missing zeroize cfg in rustdocs; still working on Rudra --- chacha20/src/rng.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chacha20/src/rng.rs b/chacha20/src/rng.rs index 70c8b982..90599015 100644 --- a/chacha20/src/rng.rs +++ b/chacha20/src/rng.rs @@ -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(); /// ``` ///