From bd6f01c751f923d28fa375f1bc91f63ceb3c9693 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 24 Apr 2023 12:56:24 -0700 Subject: [PATCH] langref: fix compile error --- doc/langref.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 1fc6a7e98d..a213950a15 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -8684,11 +8684,11 @@ test "integer cast panic" {
{#syntax#}@memcpy(noalias dest, noalias source) void{#endsyntax#}

This function copies bytes from one region of memory to another.

{#syntax#}dest{#endsyntax#} must be a mutable slice, a mutable pointer to an array, or - a mutable many-item {#link|pointer|Pointer#}. It may have any + a mutable many-item {#link|pointer|Pointers#}. It may have any alignment, and it may have any element type.

Likewise, {#syntax#}source{#endsyntax#} must be a mutable slice, a mutable pointer to an array, or a mutable many-item - {#link|pointer|Pointer#}. It may have any alignment, and it may have any + {#link|pointer|Pointers#}. It may have any alignment, and it may have any element type.

The {#syntax#}source{#endsyntax#} element type must support {#link|Type Coercion#} into the {#syntax#}dest{#endsyntax#} element type. The element types may have