Skip to content

docs: fix broken intra-doc links in crates/app/src/metadata.rs (DEFAULT_LIMIT) #128

Closed

Description

@utof

Summary

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.

Activity

  1. utof commented on Apr 23, 2026

    @utof
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions