Reduce the size of the TokenTree
This commit is contained in:
parent
dfb4163f83
commit
34dacb80ce
7 changed files with 34 additions and 22 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue