diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libsemver/lib.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs index 9c5dd656d42..036d5ae22be 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<T:Iterator<char>>(rdr: &mut T, pred: |char| -> bool) |
