From 32643dae369a365ca6282b77bb6b01ad1488e999 Mon Sep 17 00:00:00 2001 From: atlas Date: Sat, 15 Aug 2026 00:13:54 +0200 Subject: [PATCH] fix(swarm): the doc link pointed at a cfg(test) item rustdoc builds without the test cfg, so `tests::hand_built_matches_the_reference` resolves to nothing and broken_intra_doc_links denies it. Plain backticks rather than making the item visible - a lint is not a reason to change an item's visibility. Earned, not lost: this is the first completed rustdoc run on a brand-new crate, and the link was wrong from the first commit. --- swarm-nats-auth/src/respond.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm-nats-auth/src/respond.rs b/swarm-nats-auth/src/respond.rs index 2d0162aa..e1473809 100644 --- a/swarm-nats-auth/src/respond.rs +++ b/swarm-nats-auth/src/respond.rs @@ -22,7 +22,7 @@ //! token the server rejects without saying why. //! //! `nats-jwt` is therefore a **dev-dependency, not a runtime one**: it is this -//! module's test oracle. [`tests::hand_built_matches_the_reference`] builds a +//! module's test oracle: `tests::hand_built_matches_the_reference` builds a //! user token both ways and requires byte equality, so the encoder is checked //! against the reference on the one shape that crate does model.