cmp: derive Clone for Ordering
This commit is contained in:
parent
44d4d6de76
commit
c47d80304e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue