motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 0363f3c6f3017e8340ec466ef615a4bb9a08baec (tree)
parent e79d7e0deda9e74dbaad1aa77db3e041f92f4f71
Author: 熊鑫 <1781189926@qq.com>
Date:   Sun, 10 May 2020 20:35:21 +0800

mem.eql need slice type
Diffstat:
Mdoc/langref.html.in | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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>