Skip to content

Commit

Permalink
fix: spinner - fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
roele committed Jan 22, 2024
1 parent ac56180 commit 38ded6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,4 @@ fn main() {
.expect("error running spinner");
println!("Done!");
}

```
4 changes: 3 additions & 1 deletion src/spinner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ use crate::Theme;
///
/// # Example
/// ```rust
/// use demand::Spinner;
/// use demand::{Spinner,SpinnerStyle};
/// use std::time::Duration;
/// use std::thread::sleep;
///
/// let spinner = Spinner::new("Loading data...")
/// .style(SpinnerStyle::line())
Expand Down

0 comments on commit 38ded6a

Please sign in to comment.