diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-10-23 04:58:48 +1100 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-10-26 09:53:30 +1100 |
| commit | 34dacb80cea4071233fb74b479e1f8c148a0be03 (patch) | |
| tree | 77ad86a151e8757e9f5e4eded7e62488510dfe9f /src/libsyntax/parse | |
| parent | dfb4163f8380e9a1aaf64a7474de30634bca4034 (diff) | |
| download | rust-34dacb80cea4071233fb74b479e1f8c148a0be03.tar.gz rust-34dacb80cea4071233fb74b479e1f8c148a0be03.zip | |
Reduce the size of the TokenTree
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index ebca362b9d8..f8fa053b7ae 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2615,7 +2615,7 @@ impl<'a> Parser<'a> { // Expand to cover the entire delimited token tree let span = Span { hi: self.span.hi, ..pre_span }; - TtDelimited(span, open, Rc::new(tts), close) + TtDelimited(span, Rc::new((open, tts, close))) } _ => parse_non_delim_tt_tok(self) } |
