Revert "replace explicit calls to vec::each with vec::each_ref, partially demode str"
This reverts commit 1be24f0758.
Not quite ready.
This commit is contained in:
parent
1be24f0758
commit
8d4928f780
77 changed files with 601 additions and 565 deletions
|
|
@ -293,10 +293,8 @@ fn map_struct_def(struct_def: @ast::struct_def, parent_node: ast_node,
|
|||
}
|
||||
let d_id = ast_util::local_def(id);
|
||||
let p = extend(cx, ident);
|
||||
// only need to handle methods
|
||||
for vec::each_ref(struct_def.methods) |m| {
|
||||
map_method(d_id, p, *m, cx);
|
||||
}
|
||||
// only need to handle methods
|
||||
do vec::iter(struct_def.methods) |m| { map_method(d_id, p, m, cx); }
|
||||
}
|
||||
|
||||
fn map_view_item(vi: @view_item, cx: ctx, _v: vt) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue