diff options
Diffstat (limited to 'vendor/indicatif/examples/single.rs')
-rw-r--r-- | vendor/indicatif/examples/single.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/indicatif/examples/single.rs b/vendor/indicatif/examples/single.rs deleted file mode 100644 index 6e921e5..0000000 --- a/vendor/indicatif/examples/single.rs +++ /dev/null @@ -1,13 +0,0 @@ -use std::thread; -use std::time::Duration; - -use indicatif::ProgressBar; - -fn main() { - let pb = ProgressBar::new(1024); - for _ in 0..1024 { - thread::sleep(Duration::from_millis(5)); - pb.inc(1); - } - pb.finish_with_message("done"); -} |