commit 5fa63bb9f6d91497174ba9d8b165856e8a6bded9
parent dde1f983aa47080c3236caacd63d2efbeb2c01de
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date: Fri, 4 Nov 2022 12:11:58 +0000
Merge branch 'wordlist-clone' into 'master'
feat: derive Clone on Wordlist enum
See merge request yuvallanger/rusty-diceware!6
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/diceware_wordlists/src/lib.rs b/diceware_wordlists/src/lib.rs
@@ -4,6 +4,7 @@ include!(concat!(env!("OUT_DIR"), "/diceware.rs"));
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
#[cfg_attr(feature = "serde", serde(rename_all = "lowercase"))]
+#[derive(Clone)]
pub enum Wordlist {
Beale,
Reinhold,