mirror of
https://github.com/danbulant/cushy
synced 2026-06-20 23:11:12 +00:00
Clippy
Apparently I had missed some warnings due to how I was editing this through another project using Cushy.
This commit is contained in:
parent
94e473cdd3
commit
20366698a6
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue