mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
apply T! macro where it is possible
This commit is contained in:
parent
d77175ce28
commit
993abedd77
38 changed files with 619 additions and 623 deletions
|
@ -157,7 +157,7 @@ fn extend_list_item(node: &SyntaxNode) -> Option<TextRange> {
|
|||
})
|
||||
.next()
|
||||
.and_then(|it| it.as_token())
|
||||
.filter(|node| node.kind() == COMMA)
|
||||
.filter(|node| node.kind() == T![,])
|
||||
}
|
||||
|
||||
if let Some(comma_node) = nearby_comma(node, Direction::Prev) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue