diff options
| author | Ralf Jung <post@ralfj.de> | 2023-08-03 12:00:09 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-08-24 08:08:46 +0200 |
| commit | 3a28887623fe7c61f7f84759f5d53fbf11f6a55e (patch) | |
| tree | b615d9eba91d13946d010d990642cf7c44e5e261 /library/std/src | |
| parent | 396cbe66397ba77184e4ed896f4ba17f623c00f7 (diff) | |
| download | rust-3a28887623fe7c61f7f84759f5d53fbf11f6a55e.tar.gz rust-3a28887623fe7c61f7f84759f5d53fbf11f6a55e.zip | |
fix a typo in env_clear docs
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs index f54d5934175..eb88dfae93c 100644 --- a/library/std/src/process.rs +++ b/library/std/src/process.rs @@ -789,7 +789,7 @@ impl Command { /// or [`Command::envs`]. In addition, it will prevent the spawned child process from inheriting /// any environment variable from its parent process. /// - /// After calling [`Command::env_remove`], the iterator from [`Command::get_envs`] will be + /// After calling [`Command::env_clear`], the iterator from [`Command::get_envs`] will be /// empty. /// /// You can use [`Command::env_remove`] to clear a single mapping. |
