aboutsummaryrefslogtreecommitdiff
path: root/editors/code/.gitignore
diff options
context:
space:
mode:
authorKevin Mehall <[email protected]>2021-03-06 16:46:32 +0000
committerKevin Mehall <[email protected]>2021-03-06 16:48:30 +0000
commit62f594b390e5f648a32b5b08863a6413b4271d19 (patch)
tree47de88bc047e957149544f48f2696f2706b9ed4b /editors/code/.gitignore
parent632fa8ef4a3c9e7440b79e04a9f7dd9bd23a4de4 (diff)
Refactor TokenStream to hold Vec<TokenTree> instead of tt::Subtree
`TokenStream` assumes that its subtree's delimeter is `None`, and this should be encoded in the type system instead of having a delimiter field that is mostly ignored. `tt::Subtree` is just `pub delimiter: Option<Delimiter>, pub token_trees: Vec<TokenTree>`, so a Subtree that is statically guaranteed not to have a delimiter is just Vec<TokenTree>.
Diffstat (limited to 'editors/code/.gitignore')
0 files changed, 0 insertions, 0 deletions