diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-03 15:35:53 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-03 15:35:53 -0800 |
| commit | 8550bf74c1149eb54fc568bb53b78fd2b6caec98 (patch) | |
| tree | f9f41a11f529a8f41a24e9ac52450011d9c63afb /src/libcore/error.rs | |
| parent | 3b2ed14906fd9f9daa27cc7d1dad263d2f5ff450 (diff) | |
| parent | 45ddf50cebd8f3353383e473327911c1f8b34cd6 (diff) | |
| download | rust-8550bf74c1149eb54fc568bb53b78fd2b6caec98.tar.gz rust-8550bf74c1149eb54fc568bb53b78fd2b6caec98.zip | |
rollup merge of #21759: aturon/new-path
This PR implements [path reform](https://github.com/rust-lang/rfcs/pull/474), and motivation and details for the change can be found there. For convenience, the old path API is being kept as `old_path` for the time being. Updating after this PR is just a matter of changing imports to `old_path` (which is likely not needed, since the prelude entries still export the old path API). This initial PR does not include additional normalization or platform-specific path extensions. These will be done in follow up commits or PRs. [breaking-change] Closes #20034 Closes #12056 Closes #11594 Closes #14028 Closes #14049 Closes #10035
Diffstat (limited to 'src/libcore/error.rs')
| -rw-r--r-- | src/libcore/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/error.rs b/src/libcore/error.rs index 71d5e88cccf..161f6c78921 100644 --- a/src/libcore/error.rs +++ b/src/libcore/error.rs @@ -51,7 +51,7 @@ //! use std::error::FromError; //! use std::old_io::{File, IoError}; //! use std::os::{MemoryMap, MapError}; -//! use std::path::Path; +//! use std::old_path::Path; //! //! enum MyError { //! Io(IoError), |
