| ... | @@ -673,7 +673,7 @@ pub fn formatIntValue( | ... | @@ -673,7 +673,7 @@ pub fn formatIntValue( |
| 673 | if (@typeInfo(@TypeOf(int_value)).Int.bits <= 8) { | 673 | if (@typeInfo(@TypeOf(int_value)).Int.bits <= 8) { |
| 674 | return formatAsciiChar(@as(u8, int_value), options, writer); | 674 | return formatAsciiChar(@as(u8, int_value), options, writer); |
| 675 | } else { | 675 | } else { |
| 676 | @compileError("Cannot print integer that is larger than 8 bits as a ascii"); | 676 | @compileError("Cannot print integer that is larger than 8 bits as an ASCII character"); |
| 677 | } | 677 | } |
| 678 | } else if (comptime std.mem.eql(u8, fmt, "u")) { | 678 | } else if (comptime std.mem.eql(u8, fmt, "u")) { |
| 679 | if (@typeInfo(@TypeOf(int_value)).Int.bits <= 21) { | 679 | if (@typeInfo(@TypeOf(int_value)).Int.bits <= 21) { |