Skip to content

Commit

Permalink
ProgressBarInner: remove misleading comment
Browse files Browse the repository at this point in the history
I don't think a custom tick implementation is possible without the user
running into essentially issue console-rs#416. Coordination would be necessary
between the custom ticker and the progress bar to ensure that the custom
tick thread is joined.
  • Loading branch information
chris-laplante committed May 26, 2022
1 parent 191be28 commit f1a8e2c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/progress_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,6 @@ impl ProgressBarInner {
}

/// A weak reference to a `ProgressBar`.
///
/// Useful for creating custom steady tick implementations
#[derive(Clone, Default)]
pub struct WeakProgressBar {
inner: Weak<Mutex<ProgressBarInner>>,
Expand Down

0 comments on commit f1a8e2c

Please sign in to comment.