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).
This commit is contained in:
Anees Iqbal committed 2026-12-03 13:47:40 -08:00
1 parent 5dc5ea3315
commit 8f04734a97
1 file changed
+1 -1
@@ -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 {