Skip to content

Commit 95a2451

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 164745 b: refs/heads/try c: cc242bc h: refs/heads/master i: 164743: 4fa8efe v: v3
1 parent 28949d9 commit 95a2451

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
@@ -2,7 +2,7 @@
22
refs/heads/master: f8f2c7a9537c7f333b242f616aefb75a83860927
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70
5-
refs/heads/try: 50ef20725395dcaa3226ee1bfb3f186bb8a2a794
5+
refs/heads/try: cc242bcf47f59e847436682def1e64ff481097e2
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)