drop PartialOrd

This commit is contained in:
Lori Holden 2017-01-24 15:56:07 -05:00
parent 332c113724
commit 2776db85ff
1 changed files with 0 additions and 8 deletions

View File

@ -3,7 +3,6 @@ extern crate uuid as uuid_ext;
use std::fmt;
use std::str::FromStr;
use std::ops::Deref;
use std::cmp::Ordering;
use rocket::request::FromParam;
@ -101,13 +100,6 @@ impl PartialEq<uuid_ext::Uuid> for UUID {
}
}
impl PartialOrd<uuid_ext::Uuid> for UUID {
#[inline(always)]
fn partial_cmp(&self, other: &uuid_ext::Uuid) -> Option<Ordering> {
Some(self.0.cmp(other))
}
}
#[cfg(test)]
mod test {
use super::uuid_ext;