mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-05-06 00:54:15 +00:00
redundant_pattern_matching
This commit is contained in:
@@ -331,7 +331,7 @@ impl CrateData {
|
||||
return false;
|
||||
}
|
||||
|
||||
if let Some(_) = opts.next() {
|
||||
if opts.next().is_some() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user