diff options
author | 2023-09-20 15:52:41 +0200 | |
---|---|---|
committer | 2023-09-20 15:52:41 +0200 | |
commit | 2f7ff1471d1f6119c769c77fa138a63e95b5d881 (patch) | |
tree | 83f20609fa20d534ef8bd32b3851cae03cbadbb2 /widget/src/lazy/component.rs | |
parent | e8b01eb5435500c4b4d3135dde3d9e5910aca89e (diff) | |
parent | 33d780f691829ecd32f3a218008fcb40e005deb4 (diff) | |
download | iced-2f7ff1471d1f6119c769c77fa138a63e95b5d881.tar.gz iced-2f7ff1471d1f6119c769c77fa138a63e95b5d881.tar.bz2 iced-2f7ff1471d1f6119c769c77fa138a63e95b5d881.zip |
Merge pull request #2096 from iced-rs/fix/some-more-lints
Fix some `clippy::pedantic` lints
Diffstat (limited to 'widget/src/lazy/component.rs')
-rw-r--r-- | widget/src/lazy/component.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/lazy/component.rs b/widget/src/lazy/component.rs index fe99a7f2..d454b72b 100644 --- a/widget/src/lazy/component.rs +++ b/widget/src/lazy/component.rs @@ -511,7 +511,7 @@ impl<'a, 'b, Message, Renderer, Event, S> Drop for Overlay<'a, 'b, Message, Renderer, Event, S> { fn drop(&mut self) { - if let Some(heads) = self.0.take().map(|inner| inner.into_heads()) { + if let Some(heads) = self.0.take().map(Inner::into_heads) { *heads.instance.tree.borrow_mut().borrow_mut() = Some(heads.tree); } } |