Skip to content

Commit

Permalink
Fix doc mistake
Browse files Browse the repository at this point in the history
Co-authored-by: jamesbt365 <[email protected]>
  • Loading branch information
GnomedDev and jamesbt365 authored Oct 21, 2024
1 parent 68f1bf6 commit c0a694e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secret_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::sync::Arc;

/// A cheaply clonable, zeroed on drop, String.
///
/// This is a simple newtype of `Arc<str>` that uses [`zeroize::Zeroize`] on on last drop to avoid
/// This is a simple newtype of `Arc<str>` that uses [`zeroize::Zeroize`] on last drop to avoid
/// keeping it around in memory.
#[derive(Clone, serde::Deserialize, serde::Serialize)]
pub struct SecretString(Arc<str>);
Expand Down

0 comments on commit c0a694e

Please sign in to comment.