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.
NULL_DEVICE
const
static
1 parent 57e9a6f commit 9917d47Copy full SHA for 9917d47
gix-path/src/env/git/mod.rs
@@ -83,9 +83,9 @@ pub(super) static EXE_NAME: &str = "git";
83
pub(super) static EXE_INFO: Lazy<Option<BString>> = Lazy::new(exe_info);
84
85
#[cfg(windows)]
86
-static NULL_DEVICE: &str = "NUL";
+const NULL_DEVICE: &str = "NUL";
87
#[cfg(not(windows))]
88
-static NULL_DEVICE: &str = "/dev/null";
+const NULL_DEVICE: &str = "/dev/null";
89
90
fn exe_info() -> Option<BString> {
91
let mut cmd = git_cmd(EXE_NAME.into());
0 commit comments