Remove redundant Ord implementation for Version.

I've forgot why we keep them, so let me know if you know their reason
for existing.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
OGINO Masanori 2014-02-08 14:32:37 +09:00
parent 29e500db8a
commit dd071eeeb8

View File

@ -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)