Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Feb 5, 2024
1 parent f6ce981 commit eccf00d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/keyframes/style_container.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::reexports::iced_core::{
widget::Id as IcedId, Element, Length, Padding, Pixels, Renderer as IcedRenderer,
};
use crate::reexports::iced_style::{self, container::StyleSheet};
use crate::reexports::iced_style::container::StyleSheet;

use crate::keyframes::{as_f32, get_length, Repeat};
use crate::timeline::{Frame, Interped};
Expand Down Expand Up @@ -63,7 +63,8 @@ impl Id {
where
Renderer: IcedRenderer,
Theme: StyleSheet + cosmic::cosmic_theme::LayeredTheme,
<Theme as iced_style::container::StyleSheet>::Style: From<cosmic::theme::Container>,
<Theme as crate::reexports::iced_style::container::StyleSheet>::Style:
From<cosmic::theme::Container>,
{
StyleContainer::as_widget(self, style, timeline, content)
}
Expand Down Expand Up @@ -224,7 +225,8 @@ impl StyleContainer {
where
Renderer: IcedRenderer,
Theme: StyleSheet + cosmic::cosmic_theme::LayeredTheme,
<Theme as iced_style::container::StyleSheet>::Style: From<cosmic::theme::Container>,
<Theme as crate::reexports::iced_style::container::StyleSheet>::Style:
From<cosmic::theme::Container>,
{
let id: IcedId = id.into();

Expand Down
2 changes: 1 addition & 1 deletion src/widget/container.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Decorate content and apply alignment.
use crate::reexports::{iced, iced_core, iced_style};
use crate::reexports::{iced_core, iced_style};
use iced_core::alignment::{self, Alignment};
use iced_core::event::{self, Event};
use iced_core::layout;
Expand Down

0 comments on commit eccf00d

Please sign in to comment.