From e31787d46298492e3dfc365917a6f4445d29089a Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 20 Sep 2021 21:24:22 +0100 Subject: [PATCH] Remove unnecessary bounds on `CurveExt` They are already bounds on `group::Group`, which `CurveExt` inherits via `group::prime::PrimeCurve`. --- src/arithmetic/curves.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/arithmetic/curves.rs b/src/arithmetic/curves.rs index 0088945..d954893 100644 --- a/src/arithmetic/curves.rs +++ b/src/arithmetic/curves.rs @@ -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::AffineExt> + group::Group::ScalarExt> + Default - + PartialEq - + cmp::Eq + ConditionallySelectable + ConstantTimeEq + From<::Affine>