commit 5d6cfdd2151f004c6f8c1b96adbca8f647bc59bd
parent dde1f983aa47080c3236caacd63d2efbeb2c01de
Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
Date: Fri, 4 Nov 2022 12:33:03 +0100
feat: derive Clone on Wordlist enum
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,