Merge pull request #18846 from Veykril/push-kmspklwynynu

minor: New clippy lints
This commit is contained in:
Lukas Wirth 2025-01-06 17:12:14 +00:00 committed by GitHub
commit 72b9427162
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
92 changed files with 180 additions and 201 deletions

View file

@ -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")
}
}