mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 02:52:11 +00:00
Merge pull request #18846 from Veykril/push-kmspklwynynu
minor: New clippy lints
This commit is contained in:
commit
72b9427162
92 changed files with 180 additions and 201 deletions
|
|
@ -46,7 +46,7 @@ impl ManifestPath {
|
|||
}
|
||||
|
||||
pub fn is_rust_manifest(&self) -> bool {
|
||||
self.file.extension().map_or(false, |ext| ext == "rs")
|
||||
self.file.extension() == Some("rs")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue