cmp: derive Clone for Ordering
This commit is contained in:
parent
44d4d6de76
commit
c47d80304e
@ -64,7 +64,7 @@ totaleq_impl!(i64)
|
||||
totaleq_impl!(int)
|
||||
totaleq_impl!(uint)
|
||||
|
||||
#[deriving(Eq)]
|
||||
#[deriving(Clone, Eq)]
|
||||
pub enum Ordering { Less, Equal, Greater }
|
||||
|
||||
/// Trait for types that form a total order
|
||||
|
Loading…
x
Reference in New Issue
Block a user