Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
Apparently I had missed some warnings due to how I was editing this
through another project using Cushy.
  • Loading branch information
ecton committed Aug 28, 2024
1 parent 94e473c commit 2036669
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/widgets/collapse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use figures::{Size, Zero};
use crate::animation::{AnimationHandle, AnimationTarget, Spawn};
use crate::context::LayoutContext;
use crate::styles::components::{EasingIn, EasingOut};
use crate::value::{Destination, Dynamic, Generation, IntoDynamic, Source};
use crate::value::{Dynamic, Generation, IntoDynamic, Source};
use crate::widget::{MakeWidget, WidgetInstance, WidgetRef, WrappedLayout, WrapperWidget};
use crate::ConstraintLimit;

Expand Down Expand Up @@ -65,7 +65,6 @@ impl Collapse {
} else {
(context.get(&EasingIn), size)
};
if generation == self.collapse_generation {}
match &self.collapse_animation {
Some(state) if state.target == target => {}
Some(_) if generation == self.collapse_generation => {
Expand Down

0 comments on commit 2036669

Please sign in to comment.