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 {...@@ -66,11 +66,11 @@ pub fn hashString(s: []const u8) u32 {
66/// the alternative `std.HashMap`.66/// the alternative `std.HashMap`.
67/// Context must be a struct type with two member functions:67/// Context must be a struct type with two member functions:
68/// hash(self, K) u3268/// hash(self, K) u32
69/// eql(self, K, K) bool69/// eql(self, K, K, usize) bool
70/// Adapted variants of many functions are provided. These variants70/// Adapted variants of many functions are provided. These variants
71/// take a pseudo key instead of a key. Their context must have the functions:71/// take a pseudo key instead of a key. Their context must have the functions:
72/// hash(self, PseudoKey) u3272/// hash(self, PseudoKey) u32
73/// eql(self, PseudoKey, K) bool73/// eql(self, PseudoKey, K, usize) bool
74pub fn ArrayHashMap(74pub fn ArrayHashMap(
75 comptime K: type,75 comptime K: type,
76 comptime V: type,76 comptime V: type,