diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-09-21 23:14:28 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-10-02 17:44:52 -0400 |
| commit | e1f3fc6ce289502cde1e52fa946476ff8e3bcaac (patch) | |
| tree | 42231ed7f2348c3c19b495bf8d4eac3acbfce21b /lib/std/array_hash_map.zig | |
| parent | d5f09f56e0327685dfcaeb889efd9d6a26461886 (diff) | |
| download | zig-e1f3fc6ce289502cde1e52fa946476ff8e3bcaac.tar.gz zig-e1f3fc6ce289502cde1e52fa946476ff8e3bcaac.zip | |
Coff2: create a new linker from scratch
Diffstat (limited to 'lib/std/array_hash_map.zig')
| -rw-r--r-- | lib/std/array_hash_map.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/array_hash_map.zig b/lib/std/array_hash_map.zig index e1007ff27e..2550e0aebe 100644 --- a/lib/std/array_hash_map.zig +++ b/lib/std/array_hash_map.zig @@ -50,7 +50,7 @@ pub fn eqlString(a: []const u8, b: []const u8) bool { } pub fn hashString(s: []const u8) u32 { - return @as(u32, @truncate(std.hash.Wyhash.hash(0, s))); + return @truncate(std.hash.Wyhash.hash(0, s)); } /// Deprecated in favor of `ArrayHashMapWithAllocator` (no code changes needed) |
