From e9cc9f001da76e9ced3a9d6c48fd9d6e13f32f49 Mon Sep 17 00:00:00 2001 From: Gruzzberry <48861646+Gruzzberry@users.noreply.github.com> Date: Tue, 24 Nov 2026 22:31:38 +0000 Subject: [PATCH] Docs: rustdoc builds the GPU crate again (shader_cache's private link) The module documentation of victory-gpu's shader_cache links to build(), which is private, so RUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-deps fails with rustdoc::private_intra_doc_links. Commit 5864aab fixed the same page's other link; this one arrived with the shader cache keyed by the translator. It is written as code, as the other private items are. cargo doc --workspace --no-deps --locked with -D warnings now builds all eleven crates. Assisted-by: Claude Code (Claude Sonnet 5.5) --- crates/victory-gpu/src/shader_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/victory-gpu/src/shader_cache.rs b/crates/victory-gpu/src/shader_cache.rs index 1a1d8089d1..a41f79e8d0 100644 --- a/crates/victory-gpu/src/shader_cache.rs +++ b/crates/victory-gpu/src/shader_cache.rs @@ -1,6 +1,6 @@ //! Translated shaders kept on disk (decision 0003): under the configured //! cache folder, keyed by the container's content and by what the -//! translation depends on ([`build`]), so a changed translator never serves +//! translation depends on (`build`), so a changed translator never serves //! an old translation, while rebuilding the rest of VIctory keeps them. //! Each translator's entries are in a folder of their own, named by the //! start of that key: older translators' folders can be deleted whole.