Skip to content

Commit c47d803

Browse files
committed
cmp: derive Clone for Ordering
1 parent 44d4d6d commit c47d803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ totaleq_impl!(i64)
6464
totaleq_impl!(int)
6565
totaleq_impl!(uint)
6666

67-
#[deriving(Eq)]
67+
#[deriving(Clone, Eq)]
6868
pub enum Ordering { Less, Equal, Greater }
6969

7070
/// Trait for types that form a total order

0 commit comments

Comments
 (0)