diff options
| author | bors <bors@rust-lang.org> | 2015-03-21 05:25:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-03-21 05:25:21 +0000 |
| commit | ecf8c64e1b1b60f228f0c472c0b0dab4a5b5aa61 (patch) | |
| tree | 03752d10ba340b85b8720647c7919a97b21d694b /src/libstd/io | |
| parent | e2fa53e593a854a609ae9efe5a1bbe15265f0a6f (diff) | |
| parent | 212e03181e422f569b6426bc08b713a9efc0d0eb (diff) | |
| download | rust-ecf8c64e1b1b60f228f0c472c0b0dab4a5b5aa61.tar.gz rust-ecf8c64e1b1b60f228f0c472c0b0dab4a5b5aa61.zip | |
Auto merge of #23470 - alexcrichton:less-prelude, r=aturon
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/io')
| -rw-r--r-- | src/libstd/io/prelude.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstd/io/prelude.rs b/src/libstd/io/prelude.rs index 6bf0ebd1a59..a2ceacbe1f8 100644 --- a/src/libstd/io/prelude.rs +++ b/src/libstd/io/prelude.rs @@ -23,8 +23,5 @@ #![stable(feature = "rust1", since = "1.0.0")] -pub use super::{Read, Write, BufRead}; +pub use super::{Read, Write, BufRead, Seek}; pub use fs::PathExt; - -// FIXME: pub use as `Seek` when the name isn't in the actual prelude any more -pub use super::Seek as NewSeek; |
