Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vulpesx committed May 10, 2024
1 parent e976e2f commit 27b67a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spinner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ impl<'a> Spinner<'a> {

/// Set the style of the spinner
pub fn style(mut self, style: &'a SpinnerStyle) -> Self {
self.style = &style;
self.style = style;
self
}

/// Set the theme of the dialog
pub fn theme(mut self, theme: &'a Theme) -> Self {
self.theme = &theme;
self.theme = theme;
self
}

Expand Down

0 comments on commit 27b67a8

Please sign in to comment.