about summary refs log tree commit diff
path: root/src/libextra/enum_set.rs
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-01-15 11:32:04 +1100
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-01-16 11:51:33 +1100
commit1dd6906db2e6749bc3f113068e7493070b276feb (patch)
treebf4ce1a1c06bceadb28c70a4d522c9a5b9921738 /src/libextra/enum_set.rs
parent149fc76698318f8f7cdfaa37a818e347721764e7 (diff)
Merge Bitwise and BitCount traits and remove from prelude, along with Bounded
One less trait in std::num, and three less exported in the prelude.
Diffstat (limited to 'src/libextra/enum_set.rs')
-rw-r--r--src/libextra/enum_set.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libextra/enum_set.rs b/src/libextra/enum_set.rs
index 6fd42f74a76..e0461778075 100644
--- a/src/libextra/enum_set.rs
+++ b/src/libextra/enum_set.rs
@@ -13,6 +13,8 @@
 //! This module defines a container which uses an efficient bit mask
 //! representation to hold C-like enum variants.
 
+use std::num::Bitwise;
+
 #[deriving(Clone, Eq, IterBytes, ToStr, Encodable, Decodable)]
 /// A specialized Set implementation to use enum types.
 pub struct EnumSet<E> {