| author | |
| committer | |
| log | cd5c9c8998f1669059cee3d915831ee539dea2b6 |
| tree | 33680138c3e91e66b4424263633905ff7b793049 |
| parent | d44a69689eb2579ceb290cd19b91f824b30e6acc |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/fmt.zig+1-1| ... | ... | @@ -892,7 +892,7 @@ pub fn formatInt( |
| 892 | 892 | ) Errors!void { |
| 893 | 893 | const int_value = if (@typeOf(value) == comptime_int) blk: { |
| 894 | 894 | const Int = math.IntFittingRange(value, value); |
| 895 | break :blk Int(value); | |
| 895 | break :blk @as(Int, value); | |
| 896 | 896 | } else |
| 897 | 897 | value; |
| 898 | 898 |