Skip to content

Commit

Permalink
zeroize: Fix docs (RustCrypto#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
aewag committed Jan 13, 2022
1 parent 0dfd4eb commit dcb5ed9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zeroize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@
//! ```
//! # #[cfg(feature = "derive")]
//! # {
//! use zeroize::{Zeroize, ZeroizeDrop};
//! use zeroize::{Zeroize, ZeroizeOnDrop};
//!
//! // This struct will be zeroized on drop
//! #[derive(Zeroize, ZeroizeDrop)]
//! #[derive(Zeroize, ZeroizeOnDrop)]
//! struct MyStruct([u8; 32]);
//! # }
//! ```
Expand All @@ -112,10 +112,10 @@
//! ```
//! # #[cfg(feature = "derive")]
//! # {
//! use zeroize::ZeroizeDrop;
//! use zeroize::ZeroizeOnDrop;
//!
//! // This struct will be zeroized on drop
//! #[derive(ZeroizeDrop)]
//! #[derive(ZeroizeOnDrop)]
//! struct MyStruct([u8; 32]);
//! # }
//! ```
Expand Down

0 comments on commit dcb5ed9

Please sign in to comment.