fix: updated example
This commit is contained in:
parent
43a679fe63
commit
d561373acf
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue