fix: clippy lint

This commit is contained in:
Slinetrac
2025-11-09 23:23:03 +08:00
parent 221a1e89eb
commit 0dcdd7fed6
8 changed files with 23 additions and 18 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ async fn uninstall_service() -> Result<()> {
use deelevate::{PrivilegeLevel, Token};
use runas::Command as RunasCommand;
use std::os::windows::process::CommandExt;
use std::os::windows::process::CommandExt as _;
let binary_path = dirs::service_path()?;
let uninstall_path = binary_path.with_file_name("clash-verge-service-uninstall.exe");
@@ -72,7 +72,7 @@ async fn install_service() -> Result<()> {
use deelevate::{PrivilegeLevel, Token};
use runas::Command as RunasCommand;
use std::os::windows::process::CommandExt;
use std::os::windows::process::CommandExt as _;
let binary_path = dirs::service_path()?;
let install_path = binary_path.with_file_name("clash-verge-service-install.exe");