Skip to content

Commit eef10d0

Browse files
Clean up extraneous &mut.
1 parent c9e6089 commit eef10d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ext/tt/macro_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ pub fn parse(sess: &ParseSess, rdr: TtReader, ms: &[TokenTree]) -> NamedParseRes
459459
let mut ei = bb_eis.pop().unwrap();
460460
if let TokenTree::Token(span, MatchNt(_, ident)) = ei.top_elts.get_tt(ei.idx) {
461461
let match_cur = ei.match_cur;
462-
(&mut ei.matches[match_cur]).push(Rc::new(MatchedNonterminal(
462+
ei.matches[match_cur].push(Rc::new(MatchedNonterminal(
463463
Rc::new(parse_nt(&mut parser, span, &ident.name.as_str())))));
464464
ei.idx += 1;
465465
ei.match_cur += 1;

0 commit comments

Comments
 (0)