mem.eql need slice type

master
熊鑫 2020-05-10 20:35:21 +08:00 committed by GitHub
parent e79d7e0ded
commit 0363f3c6f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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>