mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 19:23:08 +00:00
treap: zig fmt
This commit is contained in:
parent
4d0303b992
commit
33952dad12
@ -30,9 +30,9 @@ pub fn Treap(comptime Key: type, comptime compareFn: anytype) type {
|
||||
|
||||
// Since we're using usize, decide the shifts by the integer's bit width.
|
||||
const shifts = switch (@bitSizeOf(usize)) {
|
||||
64 => .{13, 7, 17},
|
||||
32 => .{13, 17, 5},
|
||||
16 => .{7, 9, 8},
|
||||
64 => .{ 13, 7, 17 },
|
||||
32 => .{ 13, 17, 5 },
|
||||
16 => .{ 7, 9, 8 },
|
||||
else => @compileError("platform not supported"),
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user