docs: fixed documentation relating to #9
This commit is contained in:
parent
665fb73308
commit
89f87df69b
|
@ -130,7 +130,7 @@ impl Spinner {
|
||||||
///
|
///
|
||||||
/// let sp = spinoff::new(Spinners::Dots, "Hello", None);
|
/// let sp = spinoff::new(Spinners::Dots, "Hello", None);
|
||||||
/// sleep(Duration::from_millis(800));
|
/// sleep(Duration::from_millis(800));
|
||||||
/// sp.stop_with_message("Bye", "red".into());
|
/// sp.stop_with_message("Bye");
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
|
|
Loading…
Reference in a new issue