fix: updated example

This commit is contained in:
ad4mx 2022-07-16 15:32:08 +02:00
parent 43a679fe63
commit d561373acf

View file

@ -4,7 +4,7 @@ use std::time::Duration;
use strum::IntoEnumIterator;
fn main() {
for spinner in Spinners::iter() {
let spin = spinoff::new(spinner, "", None);
let spin = spinoff::new(spinner, "Spinning...", None);
sleep(Duration::from_secs(1));
spin.clear();
}