Skip to content

Commit

Permalink
Add doc comment back in
Browse files Browse the repository at this point in the history
  • Loading branch information
redzic committed Jul 6, 2021
1 parent 667d5ea commit ecd4de1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/state.rs
Expand Up @@ -124,6 +124,7 @@ impl ProgressState {
self.started.elapsed() + self.eta()
}

/// The number of steps per second
pub fn per_sec(&self) -> f64 {
let per_sec = 1.0 / self.est.seconds_per_step();
if per_sec.is_nan() {
Expand Down

0 comments on commit ecd4de1

Please sign in to comment.