Merge pull request #5308 from xiongxin/master

mem.eql need slice type
This commit is contained in:
Vexu
2020-05-12 01:41:51 +03:00
committed by GitHub

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>