Remove unnecessary bounds on CurveExt

They are already bounds on `group::Group`, which `CurveExt` inherits
via `group::prime::PrimeCurve`.
This commit is contained in:
Jack Grigg 2021-09-20 21:24:22 +01:00
parent 1b2f581ac1
commit e31787d462

View file

@ -12,7 +12,6 @@ use super::{FieldExt, Group};
#[cfg(feature = "std")]
use std::{
boxed::Box,
cmp,
io::{self, Read, Write},
ops::{Add, Mul, Sub},
};
@ -28,8 +27,6 @@ pub trait CurveExt:
PrimeCurve<Affine = <Self as CurveExt>::AffineExt>
+ group::Group<Scalar = <Self as CurveExt>::ScalarExt>
+ Default
+ PartialEq
+ cmp::Eq
+ ConditionallySelectable
+ ConstantTimeEq
+ From<<Self as PrimeCurve>::Affine>