about summary refs log tree commit diff
path: root/src/libstd/old_path/windows.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/old_path/windows.rs')
-rw-r--r--src/libstd/old_path/windows.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/old_path/windows.rs b/src/libstd/old_path/windows.rs
index ef873265b7b..cea2c238ece 100644
--- a/src/libstd/old_path/windows.rs
+++ b/src/libstd/old_path/windows.rs
@@ -605,6 +605,7 @@ impl Path {
     /// # Examples
     ///
     /// ```
+    /// use std::old_path::{Path, GenericPath};
     /// println!("{}", Path::new(r"C:\some\path").display());
     /// ```
     #[inline]
@@ -619,6 +620,7 @@ impl Path {
     /// # Examples
     ///
     /// ```
+    /// use std::old_path::{Path, GenericPath};
     /// let path = Path::new_opt(r"C:\some\path");
     ///
     /// match path {