about summary refs log tree commit diff
path: root/src/libstd/either.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/either.rs')
-rw-r--r--src/libstd/either.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/either.rs b/src/libstd/either.rs
index cfaef550c6f..bb74d9b3ec4 100644
--- a/src/libstd/either.rs
+++ b/src/libstd/either.rs
@@ -24,7 +24,7 @@ use vec;
 use vec::{OwnedVector, ImmutableVector};
 
 /// `Either` is a type that represents one of two alternatives
-#[deriving(Clone, Eq)]
+#[deriving(Clone, Eq, IterBytes)]
 pub enum Either<L, R> {
     Left(L),
     Right(R)