about summary refs log tree commit diff
path: root/src/libcore/either.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-22 05:30:50 -0700
committerbors <bors@rust-lang.org>2013-03-22 05:30:50 -0700
commit059764779c7389bcea118d4c43cc243d185ec243 (patch)
tree84c32ee97cbc8fc5e1a709aced4a2f29e046c3fa /src/libcore/either.rs
parent9584c60871dc712f95a2f37f24853cf3faf6191e (diff)
parent999e7ef9a97431d2c40ebe09cf27ea7a3e80de40 (diff)
auto merge of #5493 : apasel422/rust/leibniz, r=bstrie
Closes #5411.
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)