From 5caa94cb7611350c619368d0d00f0f313707961d Mon Sep 17 00:00:00 2001 From: Brent Traut Date: Tue, 19 May 2026 15:07:36 -0700 Subject: [PATCH] config: clarify user layer docs --- codex-rs/config/src/state.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codex-rs/config/src/state.rs b/codex-rs/config/src/state.rs index b0967f3089..99ff8805a4 100644 --- a/codex-rs/config/src/state.rs +++ b/codex-rs/config/src/state.rs @@ -304,8 +304,8 @@ impl ConfigLayerStack { /// Returns all user config layers in the requested precedence order. /// /// With profile-v2 enabled, `LowestPrecedenceFirst` returns the base user - /// config, sibling user override, then profile overlay, while - /// `HighestPrecedenceFirst` returns that order in reverse. + /// config, then profile overlay, while `HighestPrecedenceFirst` returns + /// that order in reverse. pub fn get_user_layers( &self, ordering: ConfigLayerStackOrdering, @@ -319,8 +319,8 @@ impl ConfigLayerStack { /// Returns the merged config from enabled user layers only. /// - /// When profile config is active, this includes the base user config, any - /// sibling user override, then the profile override config. + /// When profile config is active, this includes the base user config, then + /// the profile override config. pub fn effective_user_config(&self) -> Option { let user_layers = self.get_user_layers( ConfigLayerStackOrdering::LowestPrecedenceFirst,