docs: fixed documentation relating to #9

This commit is contained in:
ad4mx 2022-07-16 13:12:28 +02:00
parent 665fb73308
commit 89f87df69b

View file

@ -130,7 +130,7 @@ impl Spinner {
///
/// let sp = spinoff::new(Spinners::Dots, "Hello", None);
/// sleep(Duration::from_millis(800));
/// sp.stop_with_message("Bye", "red".into());
/// sp.stop_with_message("Bye");
/// ```
///
/// # Panics