not that important
This commit is contained in:
parent
218a7fbf0f
commit
a274b6d232
@ -266,10 +266,7 @@ impl<LhsNum,LhsDen,RhsNum,RhsDen,T,U> PartialEq<Ratio<RhsNum,RhsDen>> for Ratio<
|
|||||||
(self.num*other.den).eq(&(other.num*self.den))
|
(self.num*other.den).eq(&(other.num*self.den))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl<Num,Den> Eq for Ratio<Num,Den>
|
impl<Num,Den> Eq for Ratio<Num,Den> where Self:PartialEq{}
|
||||||
where
|
|
||||||
Ratio<Num,Den>:PartialEq,
|
|
||||||
{}
|
|
||||||
|
|
||||||
impl<LhsNum,LhsDen,RhsNum,RhsDen,T,U> PartialOrd<Ratio<RhsNum,RhsDen>> for Ratio<LhsNum,LhsDen>
|
impl<LhsNum,LhsDen,RhsNum,RhsDen,T,U> PartialOrd<Ratio<RhsNum,RhsDen>> for Ratio<LhsNum,LhsDen>
|
||||||
where
|
where
|
||||||
|
Loading…
Reference in New Issue
Block a user