Commit eb183ad9fe

Tadeo Kondrak <me@tadeo.ca>
2020-04-29 03:06:48
rename std.meta.IntType to std.meta.Int
Closes https://github.com/ziglang/zig/issues/5194
1 parent 5929e5c
Changed files (1)
lib
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,