Fix arg order for vec::map call
This commit is contained in:
parent
58a81a68ed
commit
b11268780e
@ -1701,10 +1701,11 @@ fn find_impls_in_item(i: @ast::item, &impls: [@_impl],
|
||||
alt ck_exports { some(m) { is_exported(i.ident, m) } _ { true } } {
|
||||
impls += [@{did: local_def(i.id),
|
||||
ident: i.ident,
|
||||
methods: vec::map({|m| @{did: local_def(m.node.id),
|
||||
methods: vec::map(mthds, {|m|
|
||||
@{did: local_def(m.node.id),
|
||||
n_tps: vec::len(m.node.tps),
|
||||
ident: m.node.ident}},
|
||||
mthds)}];
|
||||
ident: m.node.ident}
|
||||
})}];
|
||||
}
|
||||
}
|
||||
_ {}
|
||||
|
Loading…
Reference in New Issue
Block a user