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