From 5a9118c9453b02952ffeb090a63d6832e3432d46 Mon Sep 17 00:00:00 2001 From: atlas Date: Tue, 15 Sep 2026 23:44:14 +0200 Subject: [PATCH] subagent: drop private-item rustdoc links to check_model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI's docs-rustdoc check (-D rustdoc::private-intra-doc-links) failed: start's and continue_'s public # Errors sections linked to check_model with [`check_model`], but check_model is (correctly) private. Drop the bracketed link and keep the plain backticked reference — the sentence still names the check, it just stops trying to hyperlink a private item from public docs. Refs #4436 --- hive-subagent-mcp/src/session.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hive-subagent-mcp/src/session.rs b/hive-subagent-mcp/src/session.rs index c43eada4..071a3064 100644 --- a/hive-subagent-mcp/src/session.rs +++ b/hive-subagent-mcp/src/session.rs @@ -996,7 +996,7 @@ pub struct StartRequest { /// # Errors /// /// A name already running, an invalid name, a `model` the operator hasn't -/// made available (see [`check_model`]), an archive failure, or the +/// made available (see `check_model`), an archive failure, or the /// underlying `Claude::spawn` failing (binary missing, etc.) — the last /// case is the only one that can happen *after* commit-to-run, and it's /// exactly why nothing is registered in `running` until spawn actually @@ -1112,7 +1112,7 @@ fn start_reserved( /// # Errors /// /// An invalid name, one already running, a `model` the operator hasn't made -/// available (see [`check_model`]), `Claude::spawn` failing, or the resumed +/// available (see `check_model`), `Claude::spawn` failing, or the resumed /// turn failing within `RESUME_GRACE` — in practice a missed resume. pub async fn continue_( state: &Arc,