You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The progress bar that's left after the program runs:
████████████████ | 100000/100000 | 9,631.6687/s
Despite per_sec specifying a width of 8 characters, the final per_sec display is 12 characters wide. I would have expected the formatter to trim the number of digits after the decimal point to reduce the width instead.
Compressed asciinema recording of the above program running on my machine:
Hmm, I'm a little skeptical that other width specifiers (either in indicatif or in the Rust formatting machinery) ever trim -- I think they mostly only expand.
Reproducer (using indicatif 0.17.8, default feature set):
The progress bar that's left after the program runs:
████████████████ | 100000/100000 | 9,631.6687/s
Despite
per_sec
specifying a width of 8 characters, the finalper_sec
display is 12 characters wide. I would have expected the formatter to trim the number of digits after the decimal point to reduce the width instead.Compressed asciinema recording of the above program running on my machine:
pb_per_sec.cast.gz
The text was updated successfully, but these errors were encountered: