Rustfmt, Comment, move a little bit slower

This commit is contained in:
Hocuri
2020-10-12 16:05:18 +02:00
parent 36046f5f2c
commit db5cb45b9c
2 changed files with 9 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ impl<F> ProgressHandler<F>
where
F: 'static + Fn(usize) + Send,
{
/// If step_fraction is e.g. 10, then every 100ms we will step by 1/10th of the remaining interval.
/// If step_fraction is e.g. 15, then every 100ms we will step by 1/15th of the remaining interval.
/// The bigger this value, the slower the progress bar will move in the beginning.
/// f is the function that is invoked when progress is made.
pub fn new(step_fraction: f64, f: F) -> Self {