Skip to content

Commit

Permalink
Fixed broken master
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Sep 7, 2019
1 parent 342e43a commit 52b833e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@
//! println!("The script took {}", HumanDuration(started.elapsed()));
//! ```

#[cfg(feature = "with_rayon")]
extern crate rayon;

mod format;
mod iter;
mod progress;
Expand Down
2 changes: 1 addition & 1 deletion src/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ impl ProgressBar {
}

pub fn position(&self) -> u64 {
self.state.read().pos
self.state.read().unwrap().pos
}
}

Expand Down

0 comments on commit 52b833e

Please sign in to comment.