Skip to content

Commit

Permalink
Dervice clone for EmailAddress struct.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tashjian committed Sep 14, 2021
1 parent 2a9c85e commit f59275a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-lib/src/email_address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct RFC5322;
/// assert_eq!(format!("{}", email), "[email protected]");
/// ```
#[wasm_bindgen]
#[derive(Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct EmailAddress {
local_part: String,
domain: String,
Expand Down

0 comments on commit f59275a

Please sign in to comment.