We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9335cca commit 5855697Copy full SHA for 5855697
src/main.rs
@@ -83,7 +83,6 @@ fn is_elevated() -> bool {
83
84
#[cfg(windows)]
85
fn restart_as_admin() -> Result<()> {
86
- use std::process::Command;
87
use winapi::um::shellapi::ShellExecuteW;
88
use winapi::um::winuser::SW_NORMAL;
89
use std::os::windows::ffi::OsStrExt;
0 commit comments