feat(crypto): Implement Default for SecretStorageKey

For the new_without_default clippy lint.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille
2025-08-13 12:12:00 +02:00
committed by Andy Balaam
parent 0a2205f540
commit 1cf3477ada

View File

@@ -585,6 +585,12 @@ impl SecretStorageKey {
}
}
impl Default for SecretStorageKey {
fn default() -> Self {
Self::new()
}
}
#[cfg(test)]
mod test {
use assert_matches::assert_matches;