fix a typo in env_clear docs
This commit is contained in:
parent
396cbe6639
commit
3a28887623
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user