aboutsummaryrefslogtreecommitdiff
path: root/vendor/indicatif/examples/slow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/indicatif/examples/slow.rs')
-rw-r--r--vendor/indicatif/examples/slow.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/vendor/indicatif/examples/slow.rs b/vendor/indicatif/examples/slow.rs
deleted file mode 100644
index 91a8e7e..0000000
--- a/vendor/indicatif/examples/slow.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-use indicatif::{ProgressBar, ProgressStyle};
-use std::time::Duration;
-
-fn main() {
- let progress =
- ProgressBar::new(10).with_style(ProgressStyle::default_bar().progress_chars("🔐🔑🕓"));
- for _ in 0..10 {
- progress.inc(1);
- std::thread::sleep(Duration::from_secs(1));
- }
- progress.finish();
-}