about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-29 08:14:29 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-29 08:14:29 -0700
commit86b1e6fd8cca63a102b298fb1312447d199a5ccb (patch)
tree422be4d0ac991383411906dc015f47e77e8c9928
parent0358f3112707739fcb6576ef84cc4cc05413e24e (diff)
parente27308b31b6cfc0199d95e0b49e5d107f6528197 (diff)
downloadrust-86b1e6fd8cca63a102b298fb1312447d199a5ccb.tar.gz
rust-86b1e6fd8cca63a102b298fb1312447d199a5ccb.zip
rollup merge of #17599 : Gankro/enum-ord
-rw-r--r--src/libcollections/enum_set.rs2
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