Skip to content

Commit

Permalink
update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Mar 26, 2016
1 parent cf9b6d9 commit 57808cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn main() {
let mut printer = Printer::new(stdout(), Duration::from_millis(10));
for f in vec!["foo.txt", "bar.txt", "baz.txt"] {
for i in 0..51 {
let _ = write!(p, "Downloading {}.. ({}/{}) GB\n", f, i, 50);
let _ = write!(printer, "Downloading {}.. ({}/{}) GB\n", f, i, 50);
thread::sleep(Duration::from_millis(50));
}
}
Expand Down

0 comments on commit 57808cf

Please sign in to comment.