Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 3a28887

Browse files
committed
fix a typo in env_clear docs
1 parent 396cbe6 commit 3a28887

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
@@ -789,7 +789,7 @@ impl Command {
789789
/// or [`Command::envs`]. In addition, it will prevent the spawned child process from inheriting
790790
/// any environment variable from its parent process.
791791
///
792-
/// After calling [`Command::env_remove`], the iterator from [`Command::get_envs`] will be
792+
/// After calling [`Command::env_clear`], the iterator from [`Command::get_envs`] will be
793793
/// empty.
794794
///
795795
/// You can use [`Command::env_remove`] to clear a single mapping.

0 commit comments

Comments
 (0)