summaryrefslogtreecommitdiff
path: root/cli/util/progress_bar
diff options
context:
space:
mode:
Diffstat (limited to 'cli/util/progress_bar')
-rw-r--r--cli/util/progress_bar/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/util/progress_bar/mod.rs b/cli/util/progress_bar/mod.rs
index 8651e2d20..a20ac43c9 100644
--- a/cli/util/progress_bar/mod.rs
+++ b/cli/util/progress_bar/mod.rs
@@ -23,6 +23,7 @@ mod renderer;
// Inspired by Indicatif, but this custom implementation allows
// for more control over what's going on under the hood.
+#[derive(Debug)]
pub struct UpdateGuard {
maybe_entry: Option<ProgressBarEntry>,
}
@@ -183,7 +184,7 @@ impl ProgressBarInner {
{
internal_state.start_time = SystemTime::now();
internal_state.draw_thread_guard =
- Some(DrawThread::add_entry(0, Arc::new(self.clone())));
+ Some(DrawThread::add_entry(Arc::new(self.clone())));
}
}
}