remove 1 to_string and replace some others with to_owned

This commit is contained in:
2025-04-18 00:59:07 +01:00
parent 18f667a91a
commit 19b1ade758
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ pub fn block_all(sysinfo: &mut System) {
let Some(exe_path) = get_game_exe_path(sysinfo) else {
return;
};
let exe_path = exe_path.display().to_string();
let exe_path = exe_path.display();
Command::new("netsh")
.args([
"advfirewall",