| ... | ... | @@ -727,12 +727,6 @@ fn formatValue( |
| 727 | 727 | options: FormatOptions, |
| 728 | 728 | writer: anytype, |
| 729 | 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 | 730 | const T = @TypeOf(value); |
| 737 | 731 | switch (@typeInfo(T)) { |
| 738 | 732 | .Float, .ComptimeFloat => return formatFloatValue(value, fmt, options, writer), |