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:
parent
6dcd17cc37
commit
5a80fba618
2 changed files with 30 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue