Implement Clone and Debug for Alphanumeric

This commit is contained in:
Vinzent Steinberg
2021-05-13 14:41:46 -03:00
parent 13738d337d
commit 3f210e75f7
+1 -1
View File
@@ -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;