| ... | @@ -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) u32 | 68 | /// hash(self, K) u32 |
| 69 | /// eql(self, K, K) bool | 69 | /// eql(self, K, K, usize) bool |
| 70 | /// Adapted variants of many functions are provided. These variants | 70 | /// 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) u32 | 72 | /// hash(self, PseudoKey) u32 |
| 73 | /// eql(self, PseudoKey, K) bool | 73 | /// eql(self, PseudoKey, K, usize) bool |
| 74 | pub fn ArrayHashMap( | 74 | pub fn ArrayHashMap( |
| 75 | comptime K: type, | 75 | comptime K: type, |
| 76 | comptime V: type, | 76 | comptime V: type, |