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 bfdfb13 commit 1dc8c72Copy full SHA for 1dc8c72
src/currentprocess.rs
@@ -145,11 +145,7 @@ impl home::env::Env for Process {
145
}
146
147
fn var_os(&self, key: &str) -> Option<OsString> {
148
- match self {
149
- Process::OSProcess(_) => self.var_os(key),
150
- #[cfg(feature = "test")]
151
- Process::TestProcess(_) => self.var_os(key),
152
- }
+ self.var_os(key)
153
154
155
0 commit comments