mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 20:11:23 +00:00
ff: Add Ord bound to PrimeField
This commit is contained in:
@@ -258,7 +258,7 @@ impl fmt::Display for PrimeFieldDecodingError {
|
||||
|
||||
/// This represents an element of a prime field.
|
||||
pub trait PrimeField:
|
||||
Field + From<u64> + BitAnd<u64, Output = u64> + Shr<u32, Output = Self>
|
||||
Field + Ord + From<u64> + BitAnd<u64, Output = u64> + Shr<u32, Output = Self>
|
||||
{
|
||||
/// The prime field can be converted back and forth into this biginteger
|
||||
/// representation.
|
||||
|
Reference in New Issue
Block a user