From 215a8aedc4033f4896353efed0b1893193a79221 Mon Sep 17 00:00:00 2001 From: atlas Date: Wed, 23 Sep 2026 12:34:21 +0200 Subject: [PATCH] swarm-controller: link AgentState by path in the revocation doc comment rustdoc runs with -D rustdoc::broken-intra-doc-links and the type is imported inside the function body, not at module scope, so the bare link resolved to nothing and failed the workspace-doc derivation. --- swarm-controller/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarm-controller/src/main.rs b/swarm-controller/src/main.rs index 445de332..4adcde3d 100644 --- a/swarm-controller/src/main.rs +++ b/swarm-controller/src/main.rs @@ -1064,7 +1064,8 @@ async fn set_agent_state( /// Whether declaring an agent into `state` ends its queue credential's life. /// -/// Exhaustive on purpose, like every other match on [`AgentState`] in this +/// Exhaustive on purpose, like every other match on +/// [`AgentState`][swarm_queue_client::wanted::AgentState] in this /// tree: a state added later has to say whether it revokes rather than /// inheriting "no" from a catch-all. `Offline` and `Paused` deliberately do /// not — both are states an agent comes back from, and revoking on either