Skip to content

Commit

Permalink
add import (fixup rust-lang#24649)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Apr 25, 2015
1 parent 9316b03 commit 3e67b6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,8 @@ impl Path {
/// You can create `Path`s from `String`s, or even other `Path`s:
///
/// ```
/// use std::path::Path;
///
/// let s = String::from("bar.txt");
/// let p = Path::new(&s);
/// Path::new(&p);
Expand Down

0 comments on commit 3e67b6b

Please sign in to comment.