aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
author熊鑫 <1781189926@qq.com>2020-05-10 20:35:21 +0800
committerGitHub <noreply@github.com>2020-05-10 20:35:21 +0800
commit0363f3c6f3017e8340ec466ef615a4bb9a08baec (patch)
treea830ac70d898d411c061c6b95b579e66dbf4091b /doc
parente79d7e0deda9e74dbaad1aa77db3e041f92f4f71 (diff)
downloadzig-0363f3c6f3017e8340ec466ef615a4bb9a08baec.tar.gz
zig-0363f3c6f3017e8340ec466ef615a4bb9a08baec.zip
mem.eql need slice type
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 00f82cd379..5bf91ca70f 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -1565,7 +1565,7 @@ value == null{#endsyntax#}</pre>
const array1 = [_]u32{1,2};
const array2 = [_]u32{3,4};
const together = array1 ++ array2;
-mem.eql(u32, together, &[_]u32{1,2,3,4}){#endsyntax#}</pre>
+mem.eql(u32, &together, &[_]u32{1,2,3,4}){#endsyntax#}</pre>
</td>
</tr>
<tr>