Skip to content

Commit e612d78

Browse files
schneemscuviper
andauthored
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>
1 parent 75657d5 commit e612d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ impl Command {
10311031
/// process.
10321032
///
10331033
/// Each element is a tuple key/value pair `(&OsStr, Option<&OsStr>)`. A [`None`] value
1034-
/// indicates its key was explicitly removed via [`Command::env_clear`]. The associated key for
1034+
/// indicates its key was explicitly removed via [`Command::env_remove`]. The associated key for
10351035
/// the [`None`] value will no longer inherit from its parent process.
10361036
///
10371037
/// An empty iterator can indicate that no explicit mappings were added or that

0 commit comments

Comments
 (0)