Skip to content

Commit 35cc738

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 163273 b: refs/heads/snap-stage3 c: cc242bc h: refs/heads/master i: 163271: c887429 v: v3
1 parent 9aa971f commit 35cc738

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
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: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 50ef20725395dcaa3226ee1bfb3f186bb8a2a794
4+
refs/heads/snap-stage3: cc242bcf47f59e847436682def1e64ff481097e2
55
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,8 @@ fn parse_prefix<'a>(mut path: &'a str) -> Option<PathPrefix> {
10381038
}
10391039
return None;
10401040

1041-
fn parse_two_comps<'a>(mut path: &'a str, f: |char| -> bool)
1042-
-> Option<(uint, uint)> {
1043-
let idx_a = match path.find(|x| f(x)) {
1041+
fn parse_two_comps(mut path: &str, f: fn(char) -> bool) -> Option<(uint, uint)> {
1042+
let idx_a = match path.find(f) {
10441043
None => return None,
10451044
Some(x) => x
10461045
};

0 commit comments

Comments
 (0)