add import (fixup #24649)

This commit is contained in:
Manish Goregaokar 2015-04-25 22:33:19 +05:30
parent 9316b0382b
commit 3e67b6bb6c

View File

@ -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);