about summary refs log tree commit diff
path: root/src/libstd/either.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-07-29 01:12:41 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-08-07 19:21:43 -0700
commitffb670ffcd69ed8e7cd13a7f06375ede752349e2 (patch)
treea3e82ac51c713a80d620128813b4fa653451da97 /src/libstd/either.rs
parent5b4244d917cc9341b1ec04c4e245d5f841d3facc (diff)
downloadrust-ffb670ffcd69ed8e7cd13a7f06375ede752349e2.tar.gz
rust-ffb670ffcd69ed8e7cd13a7f06375ede752349e2.zip
Add initial support for a new formatting syntax
The new macro is available under the name ifmt! (only an intermediate name)
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)