Skip to content

Commit bfa73b2

Browse files
fix
1 parent b0ea967 commit bfa73b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codex-rs/core/src/exec_env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ where
2323
// Step 1 – determine the starting set of variables based on the
2424
// `inherit` strategy.
2525
let mut env_map: HashMap<String, String> = match policy.inherit {
26-
ShellEnvironmentPolicyInherit::All => all_vars.clone().into_iter().collect(),
26+
ShellEnvironmentPolicyInherit::All => all_vars.into_iter().collect(),
2727
ShellEnvironmentPolicyInherit::None => HashMap::new(),
2828
ShellEnvironmentPolicyInherit::Core => {
2929
#[cfg(not(target_os = "windows"))]

0 commit comments

Comments
 (0)