diff --git a/lib/std/meta.zig b/lib/std/meta.zig index 8ebaf14a52..e38712af2b 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -642,7 +642,10 @@ pub fn declList(comptime Namespace: type, comptime Decl: type) []const *const De } } -pub fn IntType(comptime is_signed: bool, comptime bit_count: u16) type { +/// Deprecated: use Int +pub const IntType = Int; + +pub fn Int(comptime is_signed: bool, comptime bit_count: u16) type { return @Type(TypeInfo{ .Int = .{ .is_signed = is_signed,