1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

remove unnecessary Send impl on Field

This commit is contained in:
schaeff 2021-01-26 13:18:15 +01:00
parent ef5ef9252e
commit 1ecb793f68

View file

@ -60,7 +60,6 @@ pub trait Field:
+ Ord
+ Display
+ Debug
+ Send
+ Add<Self, Output = Self>
+ for<'a> Add<&'a Self, Output = Self>
+ Sub<Self, Output = Self>
@ -152,8 +151,6 @@ mod prime_field {
value: BigInt,
}
unsafe impl Send for FieldPrime {}
impl Field for FieldPrime {
fn bits(&self) -> u32 {
self.value.bits() as u32