mem.eql need slice type

This commit is contained in:
熊鑫
2020-05-10 20:35:21 +08:00
committed by GitHub
parent e79d7e0ded
commit 0363f3c6f3

View File

@@ -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>