about summary refs log tree commit diff
path: root/src/libstd/unit.rs
diff options
context:
space:
mode:
authorchromatic <chromatic@wgz.org>2014-02-02 16:32:52 -0800
committerchromatic <chromatic@wgz.org>2014-02-07 09:59:19 -0800
commit813886b22ccd0976db03c1bfcbb9738b5b7c41db (patch)
treedfcd088cfc04989509241e1f7ece9ca0a50c9059 /src/libstd/unit.rs
parentc3ccaacc6c90fc678cbba9c3c0427f0a7dece75c (diff)
downloadrust-813886b22ccd0976db03c1bfcbb9738b5b7c41db.tar.gz
rust-813886b22ccd0976db03c1bfcbb9738b5b7c41db.zip
Removed prelude::* from libstd files.
This replaces the imports from the prelude with the re-exported symbols.
Diffstat (limited to 'src/libstd/unit.rs')
-rw-r--r--src/libstd/unit.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/unit.rs b/src/libstd/unit.rs
index 786a7f42bb3..d62fcca63a4 100644
--- a/src/libstd/unit.rs
+++ b/src/libstd/unit.rs
@@ -11,7 +11,8 @@
 //! Functions for the unit type.
 
 #[cfg(not(test))]
-use prelude::*;
+use default::Default;
+use cmp::{Eq,Equal,Ord,Ordering,TotalEq,TotalOrd};
 
 #[cfg(not(test))]
 impl Eq for () {