swarm-controller: fix broken rustdoc intra-doc link to AGENT_TOKEN_NAME
legacy_tokens.rs referenced [`AGENT_TOKEN_NAME`] unqualified, but the const lives in the sibling agent_token module and isn't in scope here; rustdoc's broken-intra-doc-links lint (denied) failed the docs build.
This commit is contained in:
parent
e9206505d4
commit
9a5a947f8d
1 changed files with 3 additions and 2 deletions
|
|
@ -41,8 +41,9 @@ pub fn is_legacy_token_name(name: &str) -> bool {
|
|||
.is_some_and(|secs| !secs.is_empty() && secs.bytes().all(|b| b.is_ascii_digit()))
|
||||
}
|
||||
|
||||
/// The agents a sweep may touch: those whose [`AGENT_TOKEN_NAME`] token is
|
||||
/// current, never [`CORE_USER`].
|
||||
/// The agents a sweep may touch: those whose
|
||||
/// [`super::agent_token::AGENT_TOKEN_NAME`] token is current, never
|
||||
/// [`CORE_USER`].
|
||||
pub fn sweepable(observed: &[(String, Observed)]) -> Vec<String> {
|
||||
observed
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Reference in a new issue