Skip to content

Commit

Permalink
Clean up ordering of Field bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Nov 19, 2022
1 parent 1eddf54 commit c461a90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ pub trait Field:
+ 'static
+ ConditionallySelectable
+ ConstantTimeEq
+ Neg<Output = Self>
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Neg<Output = Self>
+ for<'a> Add<&'a Self, Output = Self>
+ for<'a> Mul<&'a Self, Output = Self>
+ for<'a> Sub<&'a Self, Output = Self>
+ MulAssign
+ for<'a> Mul<&'a Self, Output = Self>
+ AddAssign
+ SubAssign
+ for<'a> MulAssign<&'a Self>
+ MulAssign
+ for<'a> AddAssign<&'a Self>
+ for<'a> SubAssign<&'a Self>
+ for<'a> MulAssign<&'a Self>
{
/// The zero element of the field, the additive identity.
const ZERO: Self;
Expand Down

0 comments on commit c461a90

Please sign in to comment.