Add cases to desugar function for container update ops (#425)

* Add cases to desugar function for container update ops

* Make point hashable
This commit is contained in:
Evan Laufer 2025-09-19 13:22:21 -07:00 committed by GitHub
parent 6dcd17cc37
commit 5a80fba618
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 1 deletions

View file

@ -97,7 +97,7 @@ fn ec_field_from_bytes(b: &[u8]) -> Result<ECField, Error> {
Ok(QuinticExtension(array::from_fn(|i| fields[i])))
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub struct Point {
pub x: ECField,
pub u: ECField,