Docs: drop the private intra-doc link to MICRO in texture.rs #696

Manually merged
github merged 1 commit from gh-pr/696/head into gh-pr/696/base 2026-11-26 04:13:24 +00:00
Owner

@⁠catminou4 on GitHub · 2026-11-24 06:59 UTC · original
catminou4:devin/formats-doc-micro-link → main · +1 −1 · 1 files · 1 commits · merged 2026-11-24 08:23 UTC

What

cargo doc --no-deps -p victory-formats on main warns:

warning: public documentation for `texture` links to private item `MICRO`
  --> crates/victory-formats/src/texture.rs:16:19

The module docs linked to the private const MICRO with intra-doc brackets. Plain code formatting keeps the reference without the broken link.

Verification

macOS 26 arm64, rustc 1.98.1: cargo doc --no-deps -p victory-formats goes from 1 warning to 0. Doc-comment-only change, no code touched.

Complements #675, which fixes the loader/GPU/shader rustdoc warnings but not this one (victory-formats was out of its scope).

**@⁠catminou4** on GitHub · 2026-11-24 06:59 UTC · [original](https://github.com/Marvisak/VIctory/pull/696) `catminou4:devin/formats-doc-micro-link` → `main` · +1 −1 · 1 files · 1 commits · merged 2026-11-24 08:23 UTC ## What `cargo doc --no-deps -p victory-formats` on main warns: ``` warning: public documentation for `texture` links to private item `MICRO` --> crates/victory-formats/src/texture.rs:16:19 ``` The module docs linked to the private const `MICRO` with intra-doc brackets. Plain code formatting keeps the reference without the broken link. ## Verification macOS 26 arm64, rustc 1.98.1: `cargo doc --no-deps -p victory-formats` goes from 1 warning to 0. Doc-comment-only change, no code touched. Complements #675, which fixes the loader/GPU/shader rustdoc warnings but not this one (victory-formats was out of its scope).
rustdoc warns that the module docs link to the private const MICRO
(rustdoc::private_intra_doc_links). Plain code formatting keeps the
reference without the broken link.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:22 +00:00
github manually merged commit 0f0c872a8f into gh-pr/696/base 2026-11-26 04:13:24 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!696
No description provided.