From 2ce9122a009efa0a5d2857a0d29ad3d77a81dff1 Mon Sep 17 00:00:00 2001 From: notcancername <119271574+notcancername@users.noreply.github.com> Date: Sun, 14 May 2023 00:02:41 +0200 Subject: [PATCH] Remove incorrect statements that the `source` argument to @memcpy needs to be mutable --- doc/langref.html.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index b0b015bd50..a57a837089 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -8695,10 +8695,9 @@ test "integer cast panic" {
{#syntax#}dest{#endsyntax#} must be a mutable slice, a mutable pointer to an array, or 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|Pointers#}. It may have any alignment, and it may have any - element type.
+{#syntax#}source{#endsyntax#} must be a slice, a pointer to + an array, or a many-item {#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 different ABI size, however, that may incur a performance penalty.