Address review comments

This commit is contained in:
Aaron Hill 2021-02-13 12:42:43 -05:00
parent 0b411f56e1
commit 3321d70161
No known key found for this signature in database
GPG key ID: B4087E510E98B164
6 changed files with 201 additions and 179 deletions

View file

@ -108,7 +108,7 @@ impl<'a> Parser<'a> {
}
},
NonterminalKind::Block => {
// While an block *expression* may have attributes (e.g. `#[my_attr] { ... }`),
// While a block *expression* may have attributes (e.g. `#[my_attr] { ... }`),
// the ':block' matcher does not support them
token::NtBlock(self.collect_tokens_no_attrs(|this| this.parse_block())?)
}