]> git.lizzy.rs Git - rust.git/blobdiff - src/libextra/time.rs
Remove redundant Ord method impls.
[rust.git] / src / libextra / time.rs
index f6a5fd98234b58aabab5898bdc13b9137c500ee3..cf8ceb463b256cdc7782343d5640f909bcdea694 100644 (file)
@@ -57,9 +57,6 @@ fn lt(&self, other: &Timespec) -> bool {
         self.sec < other.sec ||
             (self.sec == other.sec && self.nsec < other.nsec)
     }
-    fn le(&self, other: &Timespec) -> bool { !other.lt(self) }
-    fn ge(&self, other: &Timespec) -> bool { !self.lt(other) }
-    fn gt(&self, other: &Timespec) -> bool { !self.le(other) }
 }
 
 /**