Apply suggestions from code review
Fixes documentation. I wrote `env_clear` when I meant `env_remove`. Good catch. Co-authored-by: Josh Stone <cuviper@gmail.com>
This commit is contained in:
parent
75657d5289
commit
e612d785d7
1 changed files with 1 additions and 1 deletions
|
@ -1031,7 +1031,7 @@ impl Command {
|
|||
/// process.
|
||||
///
|
||||
/// Each element is a tuple key/value pair `(&OsStr, Option<&OsStr>)`. A [`None`] value
|
||||
/// indicates its key was explicitly removed via [`Command::env_clear`]. The associated key for
|
||||
/// indicates its key was explicitly removed via [`Command::env_remove`]. The associated key for
|
||||
/// the [`None`] value will no longer inherit from its parent process.
|
||||
///
|
||||
/// An empty iterator can indicate that no explicit mappings were added or that
|
||||
|
|
Loading…
Add table
Reference in a new issue