File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
branches/snap-stage3/src/libstd/path Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 50ef20725395dcaa3226ee1bfb3f186bb8a2a794
4
+ refs/heads/snap-stage3: cc242bcf47f59e847436682def1e64ff481097e2
5
5
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
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 @@ -1038,9 +1038,8 @@ fn parse_prefix<'a>(mut path: &'a str) -> Option<PathPrefix> {
1038
1038
}
1039
1039
return None ;
1040
1040
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) {
1044
1043
None => return None ,
1045
1044
Some ( x) => x
1046
1045
} ;
You can’t perform that action at this time.
0 commit comments