From 3f210e75f72dd9acdd7e2e2217490e6f10982a1f Mon Sep 17 00:00:00 2001 From: Vinzent Steinberg Date: Thu, 13 May 2021 14:41:46 -0300 Subject: [PATCH] Implement `Clone` and `Debug` for `Alphanumeric` --- src/distributions/other.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distributions/other.rs b/src/distributions/other.rs index 9e58afd4..d1f060f4 100644 --- a/src/distributions/other.rs +++ b/src/distributions/other.rs @@ -57,7 +57,7 @@ use std::mem::{self, MaybeUninit}; /// /// - [Wikipedia article on Password Strength](https://en.wikipedia.org/wiki/Password_strength) /// - [Diceware for generating memorable passwords](https://en.wikipedia.org/wiki/Diceware) -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] #[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))] pub struct Alphanumeric;