cmp: derive Clone for Ordering

This commit is contained in:
Daniel Micay 2013-04-07 00:33:10 -04:00
parent 44d4d6de76
commit c47d80304e

View File

@ -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