about summary refs log tree commit diff
path: root/src/libcore/error.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-01-29 14:03:36 -0800
committerAaron Turon <aturon@mozilla.com>2015-02-03 14:34:42 -0800
commit3e39f0bc0e96f76610104918edaa5912f4f352df (patch)
tree19f32ce01fd97eb21b2e272a260f32a0dba6d499 /src/libcore/error.rs
parent3b2ed14906fd9f9daa27cc7d1dad263d2f5ff450 (diff)
downloadrust-3e39f0bc0e96f76610104918edaa5912f4f352df.tar.gz
rust-3e39f0bc0e96f76610104918edaa5912f4f352df.zip
Rename std::path to std::old_path
As part of [RFC 474](https://github.com/rust-lang/rfcs/pull/474), this
commit renames `std::path` to `std::old_path`, leaving the existing path
API in place to ease migration to the new one. Updating should be as
simple as adjusting imports, and the prelude still maps to the old path
APIs for now.

[breaking-change]
Diffstat (limited to 'src/libcore/error.rs')
-rw-r--r--src/libcore/error.rs2
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),