summaryrefslogtreecommitdiffstats
path: root/lazy/src/responsive.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-09 18:42:41 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-09 18:43:05 +0200
commit2065a40f642589134142a740ff4198deaa4c378b (patch)
tree00477d6d7cb571332062535557151d5b031d8925 /lazy/src/responsive.rs
parentd53cc5498b92fb6b573867f5ccb5f8ac93f6be79 (diff)
downloadiced-2065a40f642589134142a740ff4198deaa4c378b.tar.gz
iced-2065a40f642589134142a740ff4198deaa4c378b.tar.bz2
iced-2065a40f642589134142a740ff4198deaa4c378b.zip
Fix `clippy` lints for all crates and features
... and check those in CI as well!
Diffstat (limited to '')
-rw-r--r--lazy/src/responsive.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lazy/src/responsive.rs b/lazy/src/responsive.rs
index d305689d..4a3eb5c6 100644
--- a/lazy/src/responsive.rs
+++ b/lazy/src/responsive.rs
@@ -224,7 +224,7 @@ where
where
R: Deref<Target = Renderer>,
{
- self.content.resolve(&mut self.state, renderer, f)
+ self.content.resolve(self.state, renderer, f)
}
}
@@ -405,6 +405,6 @@ where
shell,
)
})
- .unwrap_or_else(|| iced_native::event::Status::Ignored)
+ .unwrap_or(iced_native::event::Status::Ignored)
}
}