Replace more vector + (issue #2719)
This commit is contained in:
parent
0b84437b68
commit
ae06546bbf
10 changed files with 82 additions and 65 deletions
|
@ -82,7 +82,7 @@ fn mk_rec_e(cx: ext_ctxt, sp: span,
|
|||
let val = field.ex;
|
||||
let astfield =
|
||||
{node: {mutbl: ast::m_imm, ident: ident, expr: val}, span: sp};
|
||||
astfields += [astfield]/~;
|
||||
vec::push(astfields, astfield);
|
||||
}
|
||||
let recexpr = ast::expr_rec(astfields, option::none::<@ast::expr>);
|
||||
ret @{id: cx.next_id(), node: recexpr, span: sp};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue