fix some Rust 1.78.0 clippy warnings

This commit is contained in:
Scott Lamb
2024-06-01 06:00:28 -07:00
parent 6c227ec0f5
commit c20c644747
5 changed files with 14 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ fn handle_bundled_ui() -> Result<(), BoxError> {
None => {
bare_path = path;
encoding = FileEncoding::Uncompressed;
if files.get(bare_path).is_some() {
if files.contains_key(bare_path) {
continue; // don't replace with suboptimal encoding.
}
}