Skip to content

Commit 8472447

Browse files
committed
Fix unused import on non-Windows systems
1 parent f70b904 commit 8472447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-path/src/env/git/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use std::env;
21
use std::path::{Path, PathBuf};
32
use std::process::{Command, Stdio};
43

@@ -112,6 +111,7 @@ fn git_cmd(executable: PathBuf) -> Command {
112111

113112
#[cfg(windows)]
114113
{
114+
use std::env;
115115
use std::os::windows::process::CommandExt;
116116
const CREATE_NO_WINDOW: u32 = 0x08000000;
117117
cmd.creation_flags(CREATE_NO_WINDOW);

0 commit comments

Comments
 (0)