Skip to content

Commit

Permalink
Command::env_saw_path() may be unused on platforms not using posix_sp…
Browse files Browse the repository at this point in the history
…awn()
  • Loading branch information
bdrewery committed Mar 22, 2018
1 parent 8e0faf7 commit 70559c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/sys/unix/process/process_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ impl Command {
let maybe_env = self.env.capture_if_changed();
maybe_env.map(|env| construct_envp(env, &mut self.saw_nul))
}
#[allow(dead_code)]
pub fn env_saw_path(&self) -> bool {
self.env.have_changed_path()
}
Expand Down

0 comments on commit 70559c5

Please sign in to comment.