File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/snap-stage3/src/libstd Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 5263d628b14d5511f7121f85b1d5ead3bd7b9813
4
+ refs/heads/snap-stage3: 462829cb13c75e43378ab4adab57ba17902cc293
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -1623,11 +1623,11 @@ impl Path {
1623
1623
/// # Examples
1624
1624
///
1625
1625
/// ```
1626
- /// use std::path::Path;
1626
+ /// use std::path::{self, Path} ;
1627
1627
/// use std::ffi::OsStr;
1628
1628
///
1629
1629
/// let mut it = Path::new("/tmp/foo.txt").iter();
1630
- /// assert_eq!(it.next(), Some(OsStr::new("/" )));
1630
+ /// assert_eq!(it.next(), Some(OsStr::new(&path::MAIN_SEPARATOR.to_string() )));
1631
1631
/// assert_eq!(it.next(), Some(OsStr::new("tmp")));
1632
1632
/// assert_eq!(it.next(), Some(OsStr::new("foo.txt")));
1633
1633
/// assert_eq!(it.next(), None)
You can’t perform that action at this time.
0 commit comments