diff options
| author | bors <bors@rust-lang.org> | 2015-01-27 02:46:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-27 02:46:09 +0000 |
| commit | a6a6fadbb97268d2b3e47649d91053fbb4827266 (patch) | |
| tree | 66fdcc5956c3fad65f8484243903edf8771ad3a1 /src/libstd/sys/windows/timer.rs | |
| parent | a637365b10c175e23af40171af1724d5474cb303 (diff) | |
| parent | 5d836cdf8666ce0af6911a0c89dffea4da74b374 (diff) | |
| download | rust-a6a6fadbb97268d2b3e47649d91053fbb4827266.tar.gz rust-a6a6fadbb97268d2b3e47649d91053fbb4827266.zip | |
Auto merge of #21543 - alexcrichton:old-io, r=aturon
In preparation for the I/O rejuvination of the standard library, this commit
renames the current `io` module to `old_io` in order to make room for the new
I/O modules. It is expected that the I/O RFCs will land incrementally over time
instead of all at once, and this provides a fresh clean path for new modules to
enter into as well as guaranteeing that all old infrastructure will remain in
place for some time.
As each `old_io` module is replaced it will be deprecated in-place for new
structures in `std::{io, fs, net}` (as appropriate).
This commit does *not* leave a reexport of `old_io as io` as the deprecation
lint does not currently warn on this form of use. This is quite a large breaking
change for all imports in existing code, but all functionality is retained
precisely as-is and path statements simply need to be renamed from `io` to
`old_io`.
[breaking-change]
Diffstat (limited to 'src/libstd/sys/windows/timer.rs')
| -rw-r--r-- | src/libstd/sys/windows/timer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/timer.rs b/src/libstd/sys/windows/timer.rs index 12b4e56bf52..34f3c418c55 100644 --- a/src/libstd/sys/windows/timer.rs +++ b/src/libstd/sys/windows/timer.rs @@ -26,7 +26,7 @@ use prelude::v1::*; use libc; use ptr; -use io::IoResult; +use old_io::IoResult; use sync::mpsc::{channel, Sender, Receiver, TryRecvError}; use sys::c; use sys::fs::FileDesc; |
