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:
parent
29e500db8a
commit
dd071eeeb8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user