| ... | @@ -727,12 +727,6 @@ fn formatValue( | ... | @@ -727,12 +727,6 @@ fn formatValue( |
| 727 | options: FormatOptions, | 727 | options: FormatOptions, |
| 728 | writer: anytype, | 728 | writer: anytype, |
| 729 | ) !void { | 729 | ) !void { |
| 730 | if (comptime std.mem.eql(u8, fmt, "B")) { | | |
| 731 | @compileError("specifier 'B' has been deprecated, wrap your argument in std.fmt.fmtIntSizeDec instead"); | | |
| 732 | } else if (comptime std.mem.eql(u8, fmt, "Bi")) { | | |
| 733 | @compileError("specifier 'Bi' has been deprecated, wrap your argument in std.fmt.fmtIntSizeBin instead"); | | |
| 734 | } | | |
| 735 | | | |
| 736 | const T = @TypeOf(value); | 730 | const T = @TypeOf(value); |
| 737 | switch (@typeInfo(T)) { | 731 | switch (@typeInfo(T)) { |
| 738 | .Float, .ComptimeFloat => return formatFloatValue(value, fmt, options, writer), | 732 | .Float, .ComptimeFloat => return formatFloatValue(value, fmt, options, writer), |