diff options
Diffstat (limited to 'src/libcore/num/float.rs')
| -rw-r--r-- | src/libcore/num/float.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libcore/num/float.rs b/src/libcore/num/float.rs index 16bb2aa1286..da9d03f6a7b 100644 --- a/src/libcore/num/float.rs +++ b/src/libcore/num/float.rs @@ -697,12 +697,7 @@ impl Div<float,float> for float { fn div(&self, other: &float) -> float { *self / *other } } -#[cfg(stage0,notest)] -impl Modulo<float,float> for float { - #[inline(always)] - fn modulo(&self, other: &float) -> float { *self % *other } -} -#[cfg(not(stage0),notest)] +#[cfg(notest)] impl Rem<float,float> for float { #[inline(always)] fn rem(&self, other: &float) -> float { *self % *other } |
