Skip to content

Commit 3ac159c

Browse files
committed
---
yaml --- r: 208857 b: refs/heads/snap-stage3 c: 462829c h: refs/heads/master i: 208855: 9f9e4c5 v: v3
1 parent 96d5394 commit 3ac159c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 5263d628b14d5511f7121f85b1d5ead3bd7b9813
4+
refs/heads/snap-stage3: 462829cb13c75e43378ab4adab57ba17902cc293
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libstd/path.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,11 +1623,11 @@ impl Path {
16231623
/// # Examples
16241624
///
16251625
/// ```
1626-
/// use std::path::Path;
1626+
/// use std::path::{self, Path};
16271627
/// use std::ffi::OsStr;
16281628
///
16291629
/// 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())));
16311631
/// assert_eq!(it.next(), Some(OsStr::new("tmp")));
16321632
/// assert_eq!(it.next(), Some(OsStr::new("foo.txt")));
16331633
/// assert_eq!(it.next(), None)

0 commit comments

Comments
 (0)