You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: fix broken intra-doc links in crates/app/src/metadata.rs (DEFAULT_LIMIT) #128
crates/app/src/metadata.rs has two [\DEFAULT_LIMIT`]intra-doc links (around lines 61 and 74) that resolve to a module-privateconst DEFAULT_LIMIT. The workspace [workspace.lints.rustdoc]config inCargo.toml` sets:
broken_intra_doc_links = "deny"
private_intra_doc_links = "deny"
… so cargo doc -p perima-app --no-deps (and any workspace doc build that includes perima-app) fails with error: public documentation for X links to private item DEFAULT_LIMIT.
Reproduce
cargo doc -p perima-app --no-deps
Fix
In crates/app/src/metadata.rs, change [\DEFAULT_LIMIT`](bracket-wrapped backticks — an intra-doc link) to plain backticks ``DEFAULT_LIMIT` `` at both sites. The doc text reads identically; the change just removes the doc-link resolution attempt against the private const.
Why now
Spotted while fixing the same class of issue in crates/app/src/bus.rs. Pre-existing on main since earlier work; not blocking the current architecture batch but should be cleaned up alongside other doc-discipline tasks.
Fixed inline in commit 59b9151 alongside Batch E Task 13's Bus rustdoc update. Both [DEFAULT_LIMIT] intra-doc links in crates/app/src/metadata.rs (lines 61 + 74) replaced with plain text. Bundled because the fix was a prerequisite for the cargo doc clean verification on the Batch E Task 13 commit.
Activity
utof commentedon Apr 23, 2026
Fixed inline in commit 59b9151 alongside Batch E Task 13's Bus rustdoc update. Both
[DEFAULT_LIMIT]intra-doc links in crates/app/src/metadata.rs (lines 61 + 74) replaced with plain text. Bundled because the fix was a prerequisite for thecargo docclean verification on the Batch E Task 13 commit.