chore: address Rust 1.87.0 clippy lints (#8130)

This commit is contained in:
Gaurav Rawat
2025-05-27 15:31:22 +05:30
committed by GitHub
parent a654695008
commit fab9f5eee5
6 changed files with 11 additions and 10 deletions

View File

@ -15,7 +15,6 @@ use crate::{Secret, Strategy, StrongSecret, ZeroizableSecret};
///
/// This is done deliberately to prevent accidental exfiltration of secrets
/// via `serde` serialization.
#[cfg_attr(docsrs, cfg(feature = "serde"))]
pub trait SerializableSecret: Serialize {}
// #[cfg_attr(docsrs, doc(cfg(feature = "serde")))]