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`