mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Fix typos
This commit is contained in:
parent
f54c313914
commit
cff7ab1308
7 changed files with 8 additions and 8 deletions
|
@ -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"
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue