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