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/sys/unix | |
| 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/sys/unix')
| -rw-r--r-- | src/libstd/sys/unix/fs.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/libstd/sys/unix/fs.rs b/src/libstd/sys/unix/fs.rs index c839ce65298..5292f78ca0e 100644 --- a/src/libstd/sys/unix/fs.rs +++ b/src/libstd/sys/unix/fs.rs @@ -20,6 +20,7 @@ use old_io::{FilePermission, Write, UnstableFileStat, Open, FileAccess, FileMode use old_io::{IoResult, FileStat, SeekStyle}; use old_io::{Read, Truncate, SeekCur, SeekSet, ReadWrite, SeekEnd, Append}; use old_io; +use old_path::{Path, GenericPath}; use libc::{self, c_int, c_void}; use mem; use ptr; | 
