-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Derive Eq, PartialEq, and Hash for EmailAddress
What? ===== This enables EmailAddress equality to be checked as the current structure only wraps two String values. This also derives Hash, allowing it to be used as a key in dictionary structures (e.g. BTreeMap).
- Loading branch information
1 parent
f001cba
commit c643037
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters