about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2013-01-30 09:55:33 -0800
committerErick Tryzelaar <erick.tryzelaar@gmail.com>2013-02-03 21:55:51 -0800
commitf4ed7d9b6ee0f254c8f1a760373cf8d6f1f8682c (patch)
tree30c784b88aef6708e2fbed5dce4a716417d6f00a
parent31404364e1b0b05aa854abe436a38a44b902d7f7 (diff)
downloadrust-f4ed7d9b6ee0f254c8f1a760373cf8d6f1f8682c.tar.gz
rust-f4ed7d9b6ee0f254c8f1a760373cf8d6f1f8682c.zip
core: export either::{Either,Left,Right} from the prelude
-rw-r--r--src/libcore/prelude.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/prelude.rs b/src/libcore/prelude.rs
index 43217228bd1..4e6f209e79e 100644
--- a/src/libcore/prelude.rs
+++ b/src/libcore/prelude.rs
@@ -12,6 +12,7 @@
 
 /* Reexported core operators */
 
+pub use either::{Either, Left, Right};
 pub use kinds::{Const, Copy, Owned, Durable};
 pub use ops::{Add, Sub, Mul, Div, Modulo, Neg, Not};
 pub use ops::{BitAnd, BitOr, BitXor};