about summary refs log tree commit diff
path: root/src/libstd/util.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-25 21:55:05 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-03 10:25:23 -0800
commit4bea679dbe3ba98049ac700d84ad48271753ce40 (patch)
tree59e197f0318733d8034b2e516d237d802f8e3fa4 /src/libstd/util.rs
parent5ff7b283731b795930d1e6782ae1639c83595e91 (diff)
downloadrust-4bea679dbe3ba98049ac700d84ad48271753ce40.tar.gz
rust-4bea679dbe3ba98049ac700d84ad48271753ce40.zip
Remove std::either
Diffstat (limited to 'src/libstd/util.rs')
-rw-r--r--src/libstd/util.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libstd/util.rs b/src/libstd/util.rs
index d12d61ed46c..6c0424b50e1 100644
--- a/src/libstd/util.rs
+++ b/src/libstd/util.rs
@@ -82,7 +82,6 @@ mod tests {
     use clone::Clone;
     use ops::Drop;
     use option::{None, Some};
-    use either::{Either, Left, Right};
     use mem::size_of;
 
     #[test]
@@ -112,15 +111,6 @@ mod tests {
     }
 
     #[test]
-    fn test_uninhabited() {
-        let could_only_be_coin : Either <Void, ()> = Right (());
-        match could_only_be_coin {
-            Right (coin) => coin,
-            Left (is_void) => is_void.uninhabited ()
-        }
-    }
-
-    #[test]
     fn test_noncopyable() {
         assert_eq!(size_of::<NonCopyable>(), 0);