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
@ -1031,7 +1031,7 @@ impl Command {
|
|||||||
/// process.
|
/// process.
|
||||||
///
|
///
|
||||||
/// Each element is a tuple key/value pair `(&OsStr, Option<&OsStr>)`. A [`None`] value
|
/// 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.
|
/// the [`None`] value will no longer inherit from its parent process.
|
||||||
///
|
///
|
||||||
/// An empty iterator can indicate that no explicit mappings were added or that
|
/// An empty iterator can indicate that no explicit mappings were added or that
|
||||||
|
Loading…
x
Reference in New Issue
Block a user