From 462829cb13c75e43378ab4adab57ba17902cc293 Mon Sep 17 00:00:00 2001
From: Tshepang Lekhonkhobe <tshepang@gmail.com>
Date: Sat, 23 May 2015 21:42:11 +0200
Subject: [PATCH] doc: fix Windows test failure

---
 src/libstd/path.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index 8d846a7fe4d..2f19644be85 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -1623,11 +1623,11 @@ impl Path {
     /// # Examples
     ///
     /// ```
-    /// use std::path::Path;
+    /// use std::path::{self, Path};
     /// use std::ffi::OsStr;
     ///
     /// let mut it = Path::new("/tmp/foo.txt").iter();
-    /// assert_eq!(it.next(), Some(OsStr::new("/")));
+    /// assert_eq!(it.next(), Some(OsStr::new(&path::MAIN_SEPARATOR.to_string())));
     /// assert_eq!(it.next(), Some(OsStr::new("tmp")));
     /// assert_eq!(it.next(), Some(OsStr::new("foo.txt")));
     /// assert_eq!(it.next(), None)