Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed Apr 6, 2024
1 parent 567e03e commit 7dbfe46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![allow(clippy::needless_lifetimes)]
#![allow(clippy::unused_variables)]
#![allow(unused_imports)]


Expand All @@ -16,7 +15,6 @@ pub mod screen;
pub mod style;
pub mod utils;
pub mod widget;
// pub mod style;

use app::XMODITS;
use cli::Mode;
Expand Down
2 changes: 1 addition & 1 deletion src/style/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl Catalog for Theme {
}
}

pub fn primary(theme: &Theme) -> Style {
pub fn primary(_: &Theme) -> Style {
Style::default()
}

Expand Down
3 changes: 2 additions & 1 deletion src/widget/animation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ mod animation_inner {
pub use animation_inner::*;

#[cfg(not(feature = "iced_gif"))]
#[derive(Debug, Default)]
pub struct Animation;

#[cfg(not(feature = "iced_gif"))]
Expand All @@ -91,6 +92,6 @@ impl Animation {
None
}
pub fn new() -> Self {
Self
Self::default()
}
}

0 comments on commit 7dbfe46

Please sign in to comment.