about summary refs log tree commit diff
path: root/src/libcore/either.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/either.rs')
-rw-r--r--src/libcore/either.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/either.rs b/src/libcore/either.rs
index 2410ef39332..a036c19c158 100644
--- a/src/libcore/either.rs
+++ b/src/libcore/either.rs
@@ -17,7 +17,7 @@ use result;
 use vec;
 
 /// The either type
-#[deriving_eq]
+#[deriving(Eq)]
 pub enum Either<T, U> {
     Left(T),
     Right(U)