mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-12 18:57:59 +02:00
chore: lint
This commit is contained in:
1 parent
4eb364653d
commit
575700a67f
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user