Skip to content

Commit d4840c7

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 <[email protected]>
1 parent 98e065a commit d4840c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)