diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-07-29 14:14:01 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-07-29 14:18:24 -0700 |
| commit | 5af6cf9fa422cb492525e139752a57d2d89f42c7 (patch) | |
| tree | c87b65c8d879091a429f8b3e7b57b2dfa3956d99 /src/libstd/sync/mpsc | |
| parent | 523ee8d37cb3aed6bbad16760850fa94253c2072 (diff) | |
| download | rust-5af6cf9fa422cb492525e139752a57d2d89f42c7.tar.gz rust-5af6cf9fa422cb492525e139752a57d2d89f42c7.zip | |
std: Remove the curious inner module
This isn't actually necessary any more with the advent of `$crate` and changes in the compiler to expand macros to `::core::$foo` in the context of a `#![no_std]` crate. The libcore inner module was also trimmed down a bit to the bare bones.
Diffstat (limited to 'src/libstd/sync/mpsc')
| -rw-r--r-- | src/libstd/sync/mpsc/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs index 1453c91fd4d..d80d858e7a9 100644 --- a/src/libstd/sync/mpsc/mod.rs +++ b/src/libstd/sync/mpsc/mod.rs @@ -1107,7 +1107,7 @@ impl error::Error for TryRecvError { mod tests { use prelude::v1::*; - use std::env; + use env; use super::*; use thread; @@ -1655,7 +1655,7 @@ mod tests { mod sync_tests { use prelude::v1::*; - use std::env; + use env; use thread; use super::*; |
