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.
This commit is contained in:
parent
c21ec7719d
commit
215a8aedc4
1 changed files with 2 additions and 1 deletions
|
|
@ -1064,7 +1064,8 @@ async fn set_agent_state(
|
||||||
|
|
||||||
/// Whether declaring an agent into `state` ends its queue credential's life.
|
/// 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
|
/// tree: a state added later has to say whether it revokes rather than
|
||||||
/// inheriting "no" from a catch-all. `Offline` and `Paused` deliberately do
|
/// inheriting "no" from a catch-all. `Offline` and `Paused` deliberately do
|
||||||
/// not — both are states an agent comes back from, and revoking on either
|
/// not — both are states an agent comes back from, and revoking on either
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue