diff --git a/ratio_ops/src/ratio.rs b/ratio_ops/src/ratio.rs index a525b71..00ad27c 100644 --- a/ratio_ops/src/ratio.rs +++ b/ratio_ops/src/ratio.rs @@ -266,10 +266,7 @@ impl PartialEq> for Ratio< (self.num*other.den).eq(&(other.num*self.den)) } } -impl Eq for Ratio - where - Ratio:PartialEq, -{} +impl Eq for Ratio where Self:PartialEq{} impl PartialOrd> for Ratio where