From e612d785d75b84832725f3c265592c0e512f2ed3 Mon Sep 17 00:00:00 2001 From: Richard Schneeman Date: Sun, 9 Apr 2023 09:21:19 -0500 Subject: [PATCH] Apply suggestions from code review Fixes documentation. I wrote `env_clear` when I meant `env_remove`. Good catch. Co-authored-by: Josh Stone --- library/std/src/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/process.rs b/library/std/src/process.rs index 086eae33440..aeb9897e5e6 100644 --- a/library/std/src/process.rs +++ b/library/std/src/process.rs @@ -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