Skip to content

Commit

Permalink
Remove PartialOrd and Ord from field elements (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Nov 20, 2023
1 parent 1e5a5c8 commit f98e71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ macro_rules! make_field {
///
/// As an invariant, this integer representing the field element in the Montgomery domain
/// must be less than the field modulus, `p`.
#[derive(Clone, Copy, PartialOrd, Ord, Default)]
#[derive(Clone, Copy, Default)]
pub struct $elem(u128);

impl $elem {
Expand Down

0 comments on commit f98e71b

Please sign in to comment.