mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
⬆️ rust-analyzer
This commit is contained in:
parent
61c744d4fd
commit
a2a1d99545
126 changed files with 2098 additions and 904 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