Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure with_style() and set_style() behave the same
In #395, we made it so that message and prefix are carried over when calling ProgressBar::with_style(), but this did not change ProgressBar::set_style(). Reuse the same logic by having with_style() call set_style(), so that these cannot fall out of sync again.
- Loading branch information