style
This commit is contained in:
parent
3ccc19f768
commit
b836bc2a11
@ -22,7 +22,7 @@ impl<Int:From<i128>+std::ops::Shl<u32,Output=Int>,FracDst:Unsigned> From<i128> f
|
||||
|
||||
impl<Int:PartialEq,Frac> PartialEq for Fixed<Int,Frac>{
|
||||
fn eq(&self,other:&Self)->bool{
|
||||
self.bits==other.bits
|
||||
self.bits.eq(&other.bits)
|
||||
}
|
||||
}
|
||||
impl<Int:Eq,Frac> Eq for Fixed<Int,Frac>{}
|
||||
|
Loading…
Reference in New Issue
Block a user