mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 23:38:21 +00:00
everywhere: use @Int instead of std.meta
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ const std = @import("std");
|
||||
|
||||
fn get_closest_type(comptime N: usize) type {
|
||||
const bits = std.math.ceilPowerOfTwo(usize, N) catch unreachable;
|
||||
return std.meta.Int(.unsigned, bits);
|
||||
return @Int(.unsigned, bits);
|
||||
}
|
||||
|
||||
/// Static bitmap that uses the most efficient underlying word size for N < 64
|
||||
|
||||
Reference in New Issue
Block a user