Skip to content

Commit

Permalink
Merge pull request #63 from jack-michaud/derive-partialeq
Browse files Browse the repository at this point in the history
Add PartialEq derive to PublicKey
  • Loading branch information
hdevalence committed Aug 31, 2020
2 parents fd12c03 + 3c09664 commit 1ede527
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(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 1ede527

Please sign in to comment.