console-rs / indicatif

A command line progress reporting library for Rust
MIT License
4.22k stars 238 forks source link

Fix #503: don't deadlock when double-adding pb #515

Closed chris-laplante closed 1 year ago

chris-laplante commented 1 year ago

Also add some documentation

chris-laplante commented 1 year ago

I guess clippy was updated to detect this: https://rust-lang.github.io/rust-clippy/master/index.html#unchecked_duration_subtraction. I will fix them as well in this PR.

djc commented 1 year ago

Nice!