Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fmt: simplify integer formatting slightly
It turns out that "no padding set" and "padding is zero" result in the same behavior. I think this might have been different back when I was (ab)using the integer formatting to also do fractional formatting. But either way, eliminating a redundant internal state is a win. I discovered this while wondering whether I could unconditionally set the padding to `0` and if it would be the same as not setting it.
- Loading branch information