diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-01 18:06:59 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-07 08:16:42 -0700 |
| commit | 104e285eb8f848867c2666765e2aa8221e8a97d1 (patch) | |
| tree | d261196dbf9c8006ce647799fcc743a3a350910c /src/libcore/ptr.rs | |
| parent | f62c121eb0de35ac03a7860e6039202f2522e527 (diff) | |
| download | rust-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/ptr.rs')
| -rw-r--r-- | src/libcore/ptr.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 9ac9e62b50d..e3a3f78dcb9 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -480,12 +480,12 @@ impl<T> Ord for *mut T { #[cfg(test)] pub mod ptr_tests { use super::*; - use prelude::*; + use realstd::prelude::*; - use c_str::ToCStr; + use realstd::c_str::ToCStr; use cast; use libc; - use str; + use realstd::str; use slice::{ImmutableVector, MutableVector}; #[test] |
