We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0807655 commit c5b9e07Copy full SHA for c5b9e07
lib/std/static_string_map.zig
@@ -12,7 +12,7 @@ pub fn StaticStringMapIgnoreCase(comptime V: type) type {
12
}
13
14
fn defaultEql(comptime len: usize, comptime expected: [len]u8, actual: [len]u8) bool {
15
- const Compare = std.meta.Int(.unsigned, len * std.mem.byte_size_in_bits);
+ const Compare = std.meta.Int(.unsigned, len * 8);
16
const a: Compare = @bitCast(expected);
17
const b: Compare = @bitCast(actual);
18
return a == b;
0 commit comments