authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2022-04-17 15:56:59-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-04-18 03:47:03-04:00
logf8d2b87fa122a948e2c8e1056e2ec4cfd4cf01bf
treeb0b0389103beefe06d6b1ab3bc5a854b4e46a0c8
parenta7c05c06bef1570546cae4c45a76027819c7fa09

Update doc comment of ArrayHashMap to include 4th arg in eql fns

4th argument was added in cf88cf2657d721c68055a284e8c498a18639f74c

1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/array_hash_map.zig+2-2
......@@ -66,11 +66,11 @@ pub fn hashString(s: []const u8) u32 {
6666/// the alternative `std.HashMap`.
6767/// Context must be a struct type with two member functions:
6868/// hash(self, K) u32
69/// eql(self, K, K) bool
69/// eql(self, K, K, usize) bool
7070/// Adapted variants of many functions are provided. These variants
7171/// take a pseudo key instead of a key. Their context must have the functions:
7272/// hash(self, PseudoKey) u32
73/// eql(self, PseudoKey, K) bool
73/// eql(self, PseudoKey, K, usize) bool
7474pub fn ArrayHashMap(
7575 comptime K: type,
7676 comptime V: type,