diff options
Diffstat (limited to 'lazy/src/pure')
-rw-r--r-- | lazy/src/pure/component.rs | 2 | ||||
-rw-r--r-- | lazy/src/pure/responsive.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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) } } |