diff options
| author | 2022-07-09 18:42:41 +0200 | |
|---|---|---|
| committer | 2022-07-09 18:43:05 +0200 | |
| commit | 2065a40f642589134142a740ff4198deaa4c378b (patch) | |
| tree | 00477d6d7cb571332062535557151d5b031d8925 /lazy/src/pure | |
| parent | d53cc5498b92fb6b573867f5ccb5f8ac93f6be79 (diff) | |
| download | iced-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 '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)      }  } | 
