diff --git a/codex-rs/config/src/config_toml.rs b/codex-rs/config/src/config_toml.rs index 0490a2f226..5756fc1a6b 100644 --- a/codex-rs/config/src/config_toml.rs +++ b/codex-rs/config/src/config_toml.rs @@ -670,7 +670,7 @@ where let value = match value.clone().try_into::() { Ok(value) => value, Err(err) => { - let mut without_context_size = value.clone(); + let mut without_context_size = value; let removed_context_size = without_context_size .as_table_mut() .and_then(|table| table.remove("context_size"))