From b3f8ccf7bb4aa39dcf34eca37eb93d37cf1da986 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Thu, 7 May 2026 04:28:20 +0300 Subject: [PATCH] Fix config clippy lint --- codex-rs/config/src/config_toml.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))