about summary refs log tree commit diff
path: root/src/libstd/rand
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/libstd/rand
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/libstd/rand')
-rw-r--r--src/libstd/rand/os.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index 4b45d5501c2..797b9332f17 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -20,7 +20,7 @@ mod imp {
     use self::OsRngInner::*;
 
     use old_io::{IoResult, File};
-    use path::Path;
+    use old_path::Path;
     use rand::Rng;
     use rand::reader::ReaderRng;
     use result::Result::Ok;