]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/num/int_macros.rs
Remove redundant Ord method impls.
[rust.git] / src / libstd / num / int_macros.rs
index b692bedebfd54f0ed17b39f5fcc99701abec5d32..41da9a6ccbe481a3a559e588a9bc4de5d642ca55 100644 (file)
@@ -130,12 +130,6 @@ impl Num for $T {}
 impl Ord for $T {
     #[inline]
     fn lt(&self, other: &$T) -> bool { return (*self) < (*other); }
-    #[inline]
-    fn le(&self, other: &$T) -> bool { return (*self) <= (*other); }
-    #[inline]
-    fn ge(&self, other: &$T) -> bool { return (*self) >= (*other); }
-    #[inline]
-    fn gt(&self, other: &$T) -> bool { return (*self) > (*other); }
 }
 
 #[cfg(not(test))]