Skip to content

Commit 1a28fc5

Browse files
committed
Let Point<_,_, Zero> implement Hash
for completeness sake
1 parent 629a51b commit 1a28fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secp256kfun/src/point.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ where
372372

373373
impl<T: PointType, S, Z> Eq for Point<T, S, Z> {}
374374

375-
impl core::hash::Hash for Point<Normal, Public, NonZero> {
375+
impl<Z> core::hash::Hash for Point<Normal, Public, Z> {
376376
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
377377
self.to_bytes().hash(state)
378378
}

0 commit comments

Comments
 (0)