| author | |
| committer | |
| log | eb4b3eb34f729b89be4085dbca32c00532f48666 |
| tree | 2296d70fb5b3b791ab14df5b559e0d0353dcaa23 |
| parent | a34df221bbcccc8f39991e1713efba72382ec806 |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/hash_map.zig+1-1| ... | @@ -1274,7 +1274,7 @@ fn Custom( | ... | @@ -1274,7 +1274,7 @@ fn Custom( |
| 1274 | // map, which is assumed to exist as key_ptr must be valid. This | 1274 | // map, which is assumed to exist as key_ptr must be valid. This |
| 1275 | // item must be at index 0. | 1275 | // item must be at index 0. |
| 1276 | const idx = if (@sizeOf(K) > 0) | 1276 | const idx = if (@sizeOf(K) > 0) |
| 1277 | @as([*]K, @ptrCast(key_ptr)) - self.keys() | 1277 | @as([*]const K, @ptrCast(key_ptr)) - self.keys() |
| 1278 | else | 1278 | else |
| 1279 | 0; | 1279 | 0; |
| 1280 | 1280 |