mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Update doc comment of ArrayHashMap to include 4th arg in eql fns
4th argument was added in cf88cf2657d721c68055a284e8c498a18639f74c
This commit is contained in:
parent
a7c05c06be
commit
f8d2b87fa1
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user