From c5decba321683f9b45a077c9bc3ae2dfff8080a6 Mon Sep 17 00:00:00 2001 From: viyatb-oai Date: Mon, 6 Apr 2026 20:47:06 -0700 Subject: [PATCH] fix: annotate managed hook test literal Co-authored-by: Codex --- codex-rs/config/src/config_requirements.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/codex-rs/config/src/config_requirements.rs b/codex-rs/config/src/config_requirements.rs index 423657e8b3..2ed5275a20 100644 --- a/codex-rs/config/src/config_requirements.rs +++ b/codex-rs/config/src/config_requirements.rs @@ -1075,7 +1075,10 @@ mod tests { allowed_web_search_modes, enforce_source.clone(), )), - allow_managed_hooks_only: Some(Sourced::new(true, enforce_source.clone())), + allow_managed_hooks_only: Some(Sourced::new( + /*value*/ true, + enforce_source.clone(), + )), feature_requirements: Some(Sourced::new( feature_requirements, enforce_source.clone(),