From 41d6a32dba84b68edcfe3bdb1f459c32f5164be5 Mon Sep 17 00:00:00 2001 From: Isaac Carruthers Date: Thu, 10 Aug 2017 11:11:31 -0400 Subject: [PATCH] Removed extraneous where clauses --- complex/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/complex/src/lib.rs b/complex/src/lib.rs index 110febb..e34b662 100644 --- a/complex/src/lib.rs +++ b/complex/src/lib.rs @@ -522,7 +522,7 @@ forward_all_binop!(impl Rem, rem, PartialOrd); // Attempts to identify the gaussian integer whose product with `modulus` // is closest to `self`. -impl Rem> for Complex where { +impl Rem> for Complex { type Output = Complex; #[inline] @@ -1054,8 +1054,7 @@ impl FromStr for Complex where } } -impl Num for Complex where -{ +impl Num for Complex { type FromStrRadixErr = ParseComplexError; /// Parses `a +/- bi`; `ai +/- b`; `a`; or `bi` where `a` and `b` are of type `T`