chore: lint

This commit is contained in:
zhom
2026-07-08 12:33:21 +04:00
parent 4eb364653d
commit 575700a67f
+1 -1
View File
@@ -193,7 +193,7 @@ mod windows {
/// legacy Chromium-named build). Guards against archives wrongly given a
/// `*.exe` name by requiring a valid PE header.
fn is_wayfern_exe(path: &Path) -> bool {
if !path.extension().is_some_and(|ext| ext == "exe") || !is_pe_executable(path) {
if path.extension().is_none_or(|ext| ext != "exe") || !is_pe_executable(path) {
return false;
}
let name = path