authorgravatar for 1781189926@qq.com熊鑫 <1781189926@qq.com> 2020-05-10 20:35:21+08:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-05-10 20:35:21+08:00
log0363f3c6f3017e8340ec466ef615a4bb9a08baec
treea830ac70d898d411c061c6b95b579e66dbf4091b
parente79d7e0deda9e74dbaad1aa77db3e041f92f4f71
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

mem.eql need slice type


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
...@@ -1565,7 +1565,7 @@ value == null{#endsyntax#}</pre>...@@ -1565,7 +1565,7 @@ value == null{#endsyntax#}</pre>
1565const array1 = [_]u32{1,2};1565const array1 = [_]u32{1,2};
1566const array2 = [_]u32{3,4};1566const array2 = [_]u32{3,4};
1567const together = array1 ++ array2;1567const together = array1 ++ array2;
1568mem.eql(u32, together, &[_]u32{1,2,3,4}){#endsyntax#}</pre>1568mem.eql(u32, &together, &[_]u32{1,2,3,4}){#endsyntax#}</pre>
1569 </td>1569 </td>
1570 </tr>1570 </tr>
1571 <tr>1571 <tr>