summary refs log tree commit diff
path: root/src/libcollections/enum_set.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-02-23 21:29:35 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-02-24 07:44:10 +1100
commitefaf4db24c92e119e26dc575ffd6bfd3b91fb87d (patch)
treee735230061b0c480550fdaad749a998bc48df78d /src/libcollections/enum_set.rs
parent5444da54fd32b705eec28112e309f63b704e3f8c (diff)
downloadrust-efaf4db24c92e119e26dc575ffd6bfd3b91fb87d.tar.gz
rust-efaf4db24c92e119e26dc575ffd6bfd3b91fb87d.zip
Transition to new `Hash`, removing IterBytes and std::to_bytes.
Diffstat (limited to 'src/libcollections/enum_set.rs')
-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 94d378b9dc4..0de6eaf53dd 100644
--- a/src/libcollections/enum_set.rs
+++ b/src/libcollections/enum_set.rs
@@ -15,7 +15,7 @@
 
 use std::num::Bitwise;
 
-#[deriving(Clone, Eq, IterBytes, ToStr, Encodable, Decodable)]
+#[deriving(Clone, Eq, Hash, ToStr, Encodable, Decodable)]
 /// A specialized Set implementation to use enum types.
 pub struct EnumSet<E> {
     // We must maintain the invariant that no bits are set