zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit bd6f01c751f923d28fa375f1bc91f63ceb3c9693 (tree)
parent 58fabbc903eb5c75a02bedd8653f4c045c458f31
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon, 24 Apr 2023 12:56:24 -0700

langref: fix compile error

Diffstat:
Mdoc/langref.html.in | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -8684,11 +8684,11 @@ test "integer cast panic" { <pre>{#syntax#}@memcpy(noalias dest, noalias source) void{#endsyntax#}</pre> <p>This function copies bytes from one region of memory to another.</p> <p>{#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.</p> <p>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.</p> <p>The {#syntax#}source{#endsyntax#} element type must support {#link|Type Coercion#} into the {#syntax#}dest{#endsyntax#} element type. The element types may have