about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2013-11-27 17:48:58 +0200
committerEduard Burtescu <edy.burt@gmail.com>2013-11-27 17:48:58 +0200
commitf09b7b0ecd7fc03c9d433632f89b3267f16cd4f8 (patch)
treee4e3af4c616a6a6135709cc18313f0aa49a8e446 /src/libsyntax/parse/parser.rs
parent17af6f7d0c92ee66df6b96d088e999db378ce125 (diff)
downloadrust-f09b7b0ecd7fc03c9d433632f89b3267f16cd4f8.tar.gz
rust-f09b7b0ecd7fc03c9d433632f89b3267f16cd4f8.zip
Freeze the AST by removing a couple of unused @mut ~[T] from token_tree.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index b9a7ec33ee4..fab0de4179e 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2112,7 +2112,7 @@ impl Parser {
                     };
                     tt_seq(
                         mk_sp(sp.lo, p.span.hi),
-                        @mut seq,
+                        @seq,
                         s,
                         z
                     )
@@ -2157,7 +2157,7 @@ impl Parser {
                 result.push(parse_any_tt_tok(self));
                 self.open_braces.pop();
 
-                tt_delim(@mut result)
+                tt_delim(@result)
             }
             _ => parse_non_delim_tt_tok(self)
         }