reorder args to the various vec, option fns so blk comes last
This commit is contained in:
parent
0a3626161d
commit
2833ca478c
37 changed files with 170 additions and 169 deletions
|
|
@ -317,13 +317,13 @@ fn normalize(p: path) -> path {
|
|||
ret s;
|
||||
|
||||
fn strip_dots(s: [path]) -> [path] {
|
||||
vec::filter_map({ |elem|
|
||||
vec::filter_map(s, { |elem|
|
||||
if elem == "." {
|
||||
option::none
|
||||
} else {
|
||||
option::some(elem)
|
||||
}
|
||||
}, s)
|
||||
})
|
||||
}
|
||||
|
||||
fn rollup_doubledots(s: [path]) -> [path] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue