diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-09-29 08:14:29 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-09-29 08:14:29 -0700 |
| commit | 86b1e6fd8cca63a102b298fb1312447d199a5ccb (patch) | |
| tree | 422be4d0ac991383411906dc015f47e77e8c9928 | |
| parent | 0358f3112707739fcb6576ef84cc4cc05413e24e (diff) | |
| parent | e27308b31b6cfc0199d95e0b49e5d107f6528197 (diff) | |
| download | rust-86b1e6fd8cca63a102b298fb1312447d199a5ccb.tar.gz rust-86b1e6fd8cca63a102b298fb1312447d199a5ccb.zip | |
rollup merge of #17599 : Gankro/enum-ord
| -rw-r--r-- | src/libcollections/enum_set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/enum_set.rs b/src/libcollections/enum_set.rs index 02396dc13d1..f282549f6f9 100644 --- a/src/libcollections/enum_set.rs +++ b/src/libcollections/enum_set.rs @@ -16,7 +16,7 @@ use core::prelude::*; use core::fmt; -#[deriving(Clone, PartialEq, Eq, Hash)] +#[deriving(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] /// A specialized `Set` implementation to use enum types. pub struct EnumSet<E> { // We must maintain the invariant that no bits are set |
