mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Reduce some more code duplication
This commit is contained in:
parent
2cd2947bf8
commit
83121efcd5
5 changed files with 76 additions and 94 deletions
|
@ -34,7 +34,6 @@ impl Builder {
|
|||
return false;
|
||||
}
|
||||
if ctx.is_pattern_call {
|
||||
mark::hit!(dont_duplicate_pattern_parens);
|
||||
return false;
|
||||
}
|
||||
if ctx.is_call {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue