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

Merged
catminou4 merged 1 commit from upstream-pr/696 into main 2026-11-24 08:23:50 +00:00
catminou4 commented 2026-11-24 06:59:49 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T06:59:49Z.


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).

<!-- greyfinch-sync:Marvisak/VIctory:issue:6576454284 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/696). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-24T06:59:49Z. --- ## 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).
LAKSHYA-cmd-tech commented 2026-11-24 08:02:39 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T07:08:14Z.

Review: APPROVED


Verified on Windows 11 MSVC with rustc 1.98.1: resolves the private intra-doc link warning on MICRO during cargo doc --no-deps -p victory-formats, producing clean, warning-free documentation output.

<!-- greyfinch-sync:Marvisak/VIctory:review:6035055405 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/696#pullrequestreview-6035055405). Originally posted by [LAKSHYA-cmd-tech](https://github.com/LAKSHYA-cmd-tech) on 2026-11-24T07:08:14Z. **Review:** APPROVED --- Verified on Windows 11 MSVC with rustc 1.98.1: resolves the private intra-doc link warning on MICRO during cargo doc --no-deps -p victory-formats, producing clean, warning-free documentation output.
upstream-sync closed this pull request 2026-11-24 09:05:58 +00:00
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!696
No description provided.