Fix typos

This commit is contained in:
Laurențiu Nicola 2022-11-07 12:53:33 +02:00
parent f54c313914
commit cff7ab1308
7 changed files with 8 additions and 8 deletions

View file

@ -86,7 +86,7 @@ fn generate_nodes(kinds: KindsSrc<'_>, grammar: &AstSrc) -> String {
.traits
.iter()
.filter(|trait_name| {
// Loops have two expressions so this might collide, therefor manual impl it
// Loops have two expressions so this might collide, therefore manual impl it
node.name != "ForExpr" && node.name != "WhileExpr"
|| trait_name.as_str() != "HasLoopBody"
})