zig
zig copied to clipboard
`ArrayHashMap` confusing documentation
this documentation for Context in ArrayHashMap seems to suggest the eql function takes 2 args but the compiler complains that it needs 3 arguments.
https://github.com/ziglang/zig/blob/6a65561e3e5f82f126ec4795e5cd9c07392b457b/lib/std/array_hash_map.zig#L70-L77
Looks like it should be pub fn eql(self, K, K, second_keys_index) bool judging from array_hash_map.StringContext.eql:
https://github.com/ziglang/zig/blob/6a65561e3e5f82f126ec4795e5cd9c07392b457b/lib/std/array_hash_map.zig#L41
Introduced in cf88cf2657d721c68055a284e8c498a18639f74c