From 8f04734a97113f97ac9f452e22874e5e9f63bf4e Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 3 Dec 2026 13:47:40 -0800 Subject: [PATCH] Translator docs: slice_cells' link names the function slice(), not the primitive The SSW doc comment on slice_cells linked [`slice`], which rustdoc resolves both to the function lower::texture::emit::slice and to the primitive type, so the private-items Rustdoc of metal2vulkan failed (merged check m3-max-85364, STEP privdoc: "`slice` is both a function and a primitive type"). The link now names the function. Docs only; runtime-sources.sha256 unchanged (pin-compute equal). --- crates/metal2vulkan/src/lower/texture/emit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/lower/texture/emit.rs b/crates/metal2vulkan/src/lower/texture/emit.rs index f0199f095..fd050d057 100644 --- a/crates/metal2vulkan/src/lower/texture/emit.rs +++ b/crates/metal2vulkan/src/lower/texture/emit.rs @@ -2437,7 +2437,7 @@ fn slice<'c>(cx: &mut EmitCx<'c>, fb: &mut FunctionBuilder<'_>, s: &Slice) -> BR Ok(()) } -/// The cells of slice `s` this invocation writes ([`slice`]): all of them, or a cooperative +/// The cells of slice `s` this invocation writes ([`slice()`]): all of them, or a cooperative /// slice's share. fn slice_cells<'c>(cx: &mut EmitCx<'c>, fb: &mut FunctionBuilder<'_>, s: &Slice) -> BResult<()> { let Loaded {