libstd: Change Path::new to Path::init.

This commit is contained in:
Patrick Walton
2013-11-22 15:45:12 -08:00
parent 6c672ee094
commit c54427ddfb
40 changed files with 546 additions and 541 deletions

View File

@@ -450,7 +450,7 @@ pub trait Reader {
///
/// # Example
///
/// let reader = File::open(&Path::new("foo.txt"))
/// let reader = File::open(&Path::init("foo.txt"))
/// while !reader.eof() {
/// println(reader.read_line());
/// }