From 2776db85ff7f189b9d627eb3aae69ec6946087d8 Mon Sep 17 00:00:00 2001 From: Lori Holden Date: Tue, 24 Jan 2017 15:56:07 -0500 Subject: [PATCH] drop PartialOrd --- contrib/src/uuid.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contrib/src/uuid.rs b/contrib/src/uuid.rs index 51ef1177..ba83288d 100644 --- a/contrib/src/uuid.rs +++ b/contrib/src/uuid.rs @@ -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 for UUID { } } -impl PartialOrd for UUID { - #[inline(always)] - fn partial_cmp(&self, other: &uuid_ext::Uuid) -> Option { - Some(self.0.cmp(other)) - } -} - #[cfg(test)] mod test { use super::uuid_ext;