Skip to content

Commit 46b12d3

Browse files
committed
syntax: Remove a couple of implicit copies
1 parent fbd583b commit 46b12d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/parse/parser.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ class parser {
679679
ret @{id: self.get_id(), node: node, span: mk_sp(lo, hi)};
680680
}
681681

682-
fn mk_mac_expr(lo: uint, hi: uint, m: mac_) -> @expr {
682+
fn mk_mac_expr(lo: uint, hi: uint, +m: mac_) -> @expr {
683683
ret @{id: self.get_id(),
684684
node: expr_mac({node: m, span: mk_sp(lo, hi)}),
685685
span: mk_sp(lo, hi)};
@@ -693,7 +693,7 @@ class parser {
693693
ret @{id: self.get_id(), node: expr_lit(lv_lit), span: span};
694694
}
695695

696-
fn mk_pexpr(lo: uint, hi: uint, node: expr_) -> pexpr {
696+
fn mk_pexpr(lo: uint, hi: uint, +node: expr_) -> pexpr {
697697
ret pexpr(self.mk_expr(lo, hi, node));
698698
}
699699

0 commit comments

Comments
 (0)