Skip to content

Commit c5b9e07

Browse files
authored
Fix minor error
1 parent 0807655 commit c5b9e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/static_string_map.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn StaticStringMapIgnoreCase(comptime V: type) type {
1212
}
1313

1414
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);
15+
const Compare = std.meta.Int(.unsigned, len * 8);
1616
const a: Compare = @bitCast(expected);
1717
const b: Compare = @bitCast(actual);
1818
return a == b;

0 commit comments

Comments
 (0)