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.
This commit is contained in:
parent
9b35be2a24
commit
32643dae36
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue