From 2065a40f642589134142a740ff4198deaa4c378b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 9 Jul 2022 18:42:41 +0200 Subject: Fix `clippy` lints for all crates and features ... and check those in CI as well! --- lazy/src/pure/component.rs | 2 +- lazy/src/pure/responsive.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lazy/src/pure') diff --git a/lazy/src/pure/component.rs b/lazy/src/pure/component.rs index b8370263..b414a149 100644 --- a/lazy/src/pure/component.rs +++ b/lazy/src/pure/component.rs @@ -428,7 +428,7 @@ where &mut local_shell, ) }) - .unwrap_or_else(|| iced_native::event::Status::Ignored); + .unwrap_or(iced_native::event::Status::Ignored); local_shell.revalidate_layout(|| shell.invalidate_layout()); diff --git a/lazy/src/pure/responsive.rs b/lazy/src/pure/responsive.rs index d156f805..0964ebc8 100644 --- a/lazy/src/pure/responsive.rs +++ b/lazy/src/pure/responsive.rs @@ -383,6 +383,6 @@ where shell, ) }) - .unwrap_or_else(|| iced_native::event::Status::Ignored) + .unwrap_or(iced_native::event::Status::Ignored) } } -- cgit