mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-27 04:46:54 -05:00
fix some Rust 1.78.0 clippy warnings
This commit is contained in:
@@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user