about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-10-23 04:58:48 +1100
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-10-26 09:53:30 +1100
commit34dacb80cea4071233fb74b479e1f8c148a0be03 (patch)
tree77ad86a151e8757e9f5e4eded7e62488510dfe9f /src/libsyntax/parse
parentdfb4163f8380e9a1aaf64a7474de30634bca4034 (diff)
downloadrust-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.rs2
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)
         }