Skip to content

Commit 86b1e6f

Browse files
committed
rollup merge of rust-lang#17599 : Gankro/enum-ord
2 parents 0358f31 + e27308b commit 86b1e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/enum_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use core::prelude::*;
1717
use core::fmt;
1818

19-
#[deriving(Clone, PartialEq, Eq, Hash)]
19+
#[deriving(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
2020
/// A specialized `Set` implementation to use enum types.
2121
pub struct EnumSet<E> {
2222
// We must maintain the invariant that no bits are set

0 commit comments

Comments
 (0)