Co-authored-by: Marcin S. <marcin@realemail.net>
This commit is contained in:
Ralf Jung 2023-09-06 17:58:21 +02:00 committed by GitHub
parent fc75f723f6
commit 98c94ec72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -562,7 +562,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "env -i ")?;
// Altered env vars will be printed next, that should exactly work as expected.
} else {
// Removed env vars need the command to be wrappen in `env`.
// Removed env vars need the command to be wrapped in `env`.
let mut any_removed = false;
for (key, value_opt) in self.get_envs() {
if value_opt.is_none() {