src/progress.rs: Oops, forgot to add

This commit is contained in:
Zhaofeng Li 2021-02-17 22:56:34 -08:00
parent e32e130621
commit 3b005b0949

View file

@ -156,7 +156,7 @@ pub struct TaskProgress {
} }
impl TaskProgress { impl TaskProgress {
fn new(label: String, label_width: usize) -> Self { pub fn new(label: String, label_width: usize) -> Self {
Self { Self {
label, label,
label_width, label_width,