diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs index 9c5dd656d427..036d5ae22be2 100644 --- a/src/libsemver/lib.rs +++ b/src/libsemver/lib.rs @@ -151,19 +151,6 @@ impl cmp::Ord for Version { (_, _) => self.pre < other.pre })) } - - #[inline] - fn le(&self, other: &Version) -> bool { - ! (other < self) - } - #[inline] - fn gt(&self, other: &Version) -> bool { - other < self - } - #[inline] - fn ge(&self, other: &Version) -> bool { - ! (self < other) - } } fn take_nonempty_prefix>(rdr: &mut T, pred: |char| -> bool)