Skip to content

Commit

Permalink
Feedback from @hdevalence - Added derive for Eq and Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-michaud committed Aug 31, 2020
1 parent 48df927 commit 3c09664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x25519.rs
Expand Up @@ -29,7 +29,7 @@ use zeroize::Zeroize;
feature = "serde",
derive(our_serde::Serialize, our_serde::Deserialize)
)]
#[derive(PartialEq, Copy, Clone, Debug)]
#[derive(PartialEq, Eq, Hash, Copy, Clone, Debug)]
pub struct PublicKey(pub(crate) MontgomeryPoint);

impl From<[u8; 32]> for PublicKey {
Expand Down

0 comments on commit 3c09664

Please sign in to comment.