1
Fork 0

fix few typos

This commit is contained in:
klensy 2021-04-19 15:57:08 +03:00
parent 62652865b6
commit f43ee8ebf6
32 changed files with 39 additions and 39 deletions

View file

@ -1448,7 +1448,7 @@ impl<'a> Parser<'a> {
Ok((ident, ItemKind::MacroDef(ast::MacroDef { body, macro_rules: false })))
}
/// Is this unambiguously the start of a `macro_rules! foo` item defnition?
/// Is this unambiguously the start of a `macro_rules! foo` item definition?
fn is_macro_rules_item(&mut self) -> bool {
self.check_keyword(kw::MacroRules)
&& self.look_ahead(1, |t| *t == token::Not)