diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-17 13:33:26 -0700 | 
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-20 20:07:19 -0700 | 
| commit | 212e03181e422f569b6426bc08b713a9efc0d0eb (patch) | |
| tree | 4ab0963cf9b9a231d092636782703117c8c3fc6d /src/libstd/thread.rs | |
| parent | 68d69415637186755482d2584e6ba82b67bc1d89 (diff) | |
| download | rust-212e03181e422f569b6426bc08b713a9efc0d0eb.tar.gz rust-212e03181e422f569b6426bc08b713a9efc0d0eb.zip | |
std: Remove old_io/old_path from the prelude
This commit removes the reexports of `old_io` traits as well as `old_path` types and traits from the prelude. This functionality is now all deprecated and needs to be removed to make way for other functionality like `Seek` in the `std::io` module (currently reexported as `NewSeek` in the io prelude). Closes #23377 Closes #23378
Diffstat (limited to 'src/libstd/thread.rs')
| -rw-r--r-- | src/libstd/thread.rs | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/libstd/thread.rs b/src/libstd/thread.rs index d2742d4b45a..6a316ee83fd 100644 --- a/src/libstd/thread.rs +++ b/src/libstd/thread.rs @@ -150,11 +150,12 @@ use io; use marker::PhantomData; use rt::{self, unwind}; use sync::{Mutex, Condvar, Arc}; +use sys::thread as imp; +use sys_common::{stack, thread_info}; use thunk::Thunk; use time::Duration; -use sys::thread as imp; -use sys_common::{stack, thread_info}; +#[allow(deprecated)] use old_io::Writer; /// Thread configuration. Provides detailed control over the properties /// and behavior of new threads. | 
