diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/path.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs index a52a3dbbef9..2ceb60cc3aa 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -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); |
