summary refs log tree commit diff
path: root/src/libstd/path.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-04-25 22:33:19 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-04-25 22:33:19 +0530
commit3e67b6bb6c5383674f58a637f93d6740bca6a7d7 (patch)
treec9c57c7b7b33d9fcb150af5d4299b51b1ec4a709 /src/libstd/path.rs
parent9316b0382bc8f4451df8512f4c80f064f13830f9 (diff)
downloadrust-3e67b6bb6c5383674f58a637f93d6740bca6a7d7.tar.gz
rust-3e67b6bb6c5383674f58a637f93d6740bca6a7d7.zip
add import (fixup #24649)
Diffstat (limited to 'src/libstd/path.rs')
-rw-r--r--src/libstd/path.rs2
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);