diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2022-04-17 15:56:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-04-18 03:47:03 -0400 |
| commit | f8d2b87fa122a948e2c8e1056e2ec4cfd4cf01bf (patch) | |
| tree | b0b0389103beefe06d6b1ab3bc5a854b4e46a0c8 /lib/std | |
| parent | a7c05c06bef1570546cae4c45a76027819c7fa09 (diff) | |
| download | zig-f8d2b87fa122a948e2c8e1056e2ec4cfd4cf01bf.tar.gz zig-f8d2b87fa122a948e2c8e1056e2ec4cfd4cf01bf.zip | |
Update doc comment of ArrayHashMap to include 4th arg in eql fns
4th argument was added in cf88cf2657d721c68055a284e8c498a18639f74c
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/array_hash_map.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/array_hash_map.zig b/lib/std/array_hash_map.zig index e582f55819..aed60a1f0d 100644 --- a/lib/std/array_hash_map.zig +++ b/lib/std/array_hash_map.zig @@ -66,11 +66,11 @@ pub fn hashString(s: []const u8) u32 { /// the alternative `std.HashMap`. /// Context must be a struct type with two member functions: /// hash(self, K) u32 -/// eql(self, K, K) bool +/// eql(self, K, K, usize) bool /// Adapted variants of many functions are provided. These variants /// take a pseudo key instead of a key. Their context must have the functions: /// hash(self, PseudoKey) u32 -/// eql(self, PseudoKey, K) bool +/// eql(self, PseudoKey, K, usize) bool pub fn ArrayHashMap( comptime K: type, comptime V: type, |
