mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
langref: fix compile error
This commit is contained in:
parent
58fabbc903
commit
bd6f01c751
1 changed files with 2 additions and 2 deletions
|
|
@ -8684,11 +8684,11 @@ test "integer cast panic" {
|
||||||
<pre>{#syntax#}@memcpy(noalias dest, noalias source) void{#endsyntax#}</pre>
|
<pre>{#syntax#}@memcpy(noalias dest, noalias source) void{#endsyntax#}</pre>
|
||||||
<p>This function copies bytes from one region of memory to another.</p>
|
<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
|
<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>
|
alignment, and it may have any element type.</p>
|
||||||
<p>Likewise, {#syntax#}source{#endsyntax#} must be a mutable slice, a
|
<p>Likewise, {#syntax#}source{#endsyntax#} must be a mutable slice, a
|
||||||
mutable pointer to an array, or a mutable many-item
|
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>
|
element type.</p>
|
||||||
<p>The {#syntax#}source{#endsyntax#} element type must support {#link|Type Coercion#}
|
<p>The {#syntax#}source{#endsyntax#} element type must support {#link|Type Coercion#}
|
||||||
into the {#syntax#}dest{#endsyntax#} element type. The element types may have
|
into the {#syntax#}dest{#endsyntax#} element type. The element types may have
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue