adds Eq to PartialEq (#477)

This commit is contained in:
kaczmarczyck
2022-05-05 15:50:28 +02:00
committed by GitHub
parent 2b541d853b
commit 8979af6ca4
6 changed files with 52 additions and 56 deletions

View File

@@ -28,7 +28,7 @@ use rng256::Rng256;
pub const NBYTES: usize = int256::NBYTES;
#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct SecKey {
k: NonZeroExponentP256,
}