summary refs log tree commit diff
path: root/src/libcore/bool.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-01 18:06:59 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-07 08:16:42 -0700
commit104e285eb8f848867c2666765e2aa8221e8a97d1 (patch)
treed261196dbf9c8006ce647799fcc743a3a350910c /src/libcore/bool.rs
parentf62c121eb0de35ac03a7860e6039202f2522e527 (diff)
downloadrust-104e285eb8f848867c2666765e2aa8221e8a97d1.tar.gz
rust-104e285eb8f848867c2666765e2aa8221e8a97d1.zip
core: Get coretest working
This mostly involved frobbing imports between realstd, realcore, and the core
being test. Some of the imports are a little counterintuitive, but it mainly
focuses around libcore's types not implementing Show while libstd's types
implement Show.
Diffstat (limited to 'src/libcore/bool.rs')
-rw-r--r--src/libcore/bool.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/bool.rs b/src/libcore/bool.rs
index 0ccb7f93837..0f632f4d4d0 100644
--- a/src/libcore/bool.rs
+++ b/src/libcore/bool.rs
@@ -175,9 +175,8 @@ impl Default for bool {
 
 #[cfg(test)]
 mod tests {
-    use prelude::*;
+    use realstd::prelude::*;
     use super::to_bit;
-    use str::StrSlice;
 
     #[test]
     fn test_to_bit() {