From bdfb17d888b67dc7c238b6dd818e74170a0bb4ac Mon Sep 17 00:00:00 2001 From: TheAwiteb Date: Sun, 24 Dec 2023 20:25:47 +0300 Subject: [PATCH] Derive `Default` for `Passwords` --- src/password/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/password/mod.rs b/src/password/mod.rs index e400b0d..7cb3c4f 100644 --- a/src/password/mod.rs +++ b/src/password/mod.rs @@ -27,7 +27,7 @@ mod validator; pub use validator::*; /// The passwords manager -#[derive(Deserialize, Serialize)] +#[derive(Default, Deserialize, Serialize)] pub struct Passwords { /// Hash of the master password #[serde(skip)]