Skip to content

Commit 779e63a

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix clippy
1 parent acefdeb commit 779e63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ fn check_store() {
157157
};
158158

159159
// MS Store runs app using `sihost.exe`
160-
if parent_process.name().to_ascii_lowercase() == "sihost.exe" || parent_process.name().to_ascii_lowercase() == "explorer.exe"{
160+
if parent_process.name().eq_ignore_ascii_case("sihost.exe") || parent_process.name().eq_ignore_ascii_case("explorer.exe") {
161161
eprintln!("{}", t!("main.storeMessage"));
162162
// wait for keypress
163163
let _ = io::stdin().read(&mut [0u8]).unwrap();

0 commit comments

Comments
 (0)