Closed chipshort closed 1 year ago
Hi @chipshort, thanks very much for opening this issue! Funnily enough, I had just realised a few days ago that I hadn't properly implemented Display
properly for uints. I believe that Display
was correctly implemented for signed ints, but for some reason I forgot to use Formatter::pad_integral
in the implementation for uints. I've added a fix to this which should be consistent with std integer formatting, which will be added when I publish the next version.
I've just published v0.8.0
which fixes this, so closing this issue.
Not sure if this counts as a bug, but since your proclaimed goal is to act like
std
's integer types: TheDisplay
impl does not pad numbers. This test fails:I haven't checked any of the other formatting options, but those might be worth looking at too.