Commit 4bbe532
committed
More detail for
Formatting the width of a numeric value is limited to a `u16`, but the macros accept any `usize` and can panic at runtime. Previously the panic didn't provide any additional information about the failure, other than "too big".format! width bigger than u16::MAX
1 parent 5c7ae0c commit 4bbe532
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments