diff options
Diffstat (limited to 'src/viewmodel/name.rs')
-rw-r--r-- | src/viewmodel/name.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewmodel/name.rs b/src/viewmodel/name.rs index aa6747c..ee4736f 100644 --- a/src/viewmodel/name.rs +++ b/src/viewmodel/name.rs @@ -16,7 +16,7 @@ use crate::view::name::*; /// /// assert_eq!(name.generate_fn(), String::from("Sir Arthur Charles Clarke, CBE FRAS")); /// ``` -#[derive(Clone, Debug)] +#[derive(Clone, Debug, PartialEq)] pub struct Name { pub prefix: String, pub first_name: String, |