mirror of
https://github.com/servo/servo.git
synced 2025-10-16 16:29:18 +01:00
This reverts commit 8e15389cae
.
This commit is contained in:
parent
8e15389cae
commit
d6ae8dc112
152 changed files with 4622 additions and 5862 deletions
|
@ -72,16 +72,6 @@ impl ComputeSquaredDistance for Ratio {
|
|||
}
|
||||
}
|
||||
|
||||
impl Zero for Ratio {
|
||||
fn zero() -> Self {
|
||||
Self::new(Zero::zero(), One::one())
|
||||
}
|
||||
|
||||
fn is_zero(&self) -> bool {
|
||||
self.0.is_zero()
|
||||
}
|
||||
}
|
||||
|
||||
impl Ratio {
|
||||
/// Returns a new Ratio.
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue