We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ea967 commit bfa73b2Copy full SHA for bfa73b2
codex-rs/core/src/exec_env.rs
@@ -23,7 +23,7 @@ where
23
// Step 1 – determine the starting set of variables based on the
24
// `inherit` strategy.
25
let mut env_map: HashMap<String, String> = match policy.inherit {
26
- ShellEnvironmentPolicyInherit::All => all_vars.clone().into_iter().collect(),
+ ShellEnvironmentPolicyInherit::All => all_vars.into_iter().collect(),
27
ShellEnvironmentPolicyInherit::None => HashMap::new(),
28
ShellEnvironmentPolicyInherit::Core => {
29
#[cfg(not(target_os = "windows"))]
0 commit comments