diff options
author | 2023-09-20 15:52:41 +0200 | |
---|---|---|
committer | 2023-09-20 15:52:41 +0200 | |
commit | 2f7ff1471d1f6119c769c77fa138a63e95b5d881 (patch) | |
tree | 83f20609fa20d534ef8bd32b3851cae03cbadbb2 /core/src/overlay | |
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 'core/src/overlay')
-rw-r--r-- | core/src/overlay/element.rs | 6 | ||||
-rw-r--r-- | core/src/overlay/group.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/overlay/element.rs b/core/src/overlay/element.rs index 689e69be..3dd58f9b 100644 --- a/core/src/overlay/element.rs +++ b/core/src/overlay/element.rs @@ -98,7 +98,7 @@ where layout: Layout<'_>, cursor: mouse::Cursor, ) { - self.overlay.draw(renderer, theme, style, layout, cursor) + self.overlay.draw(renderer, theme, style, layout, cursor); } /// Applies a [`widget::Operation`] to the [`Element`]. @@ -205,7 +205,7 @@ where state: &mut dyn widget::operation::TextInput, id: Option<&widget::Id>, ) { - self.operation.text_input(state, id) + self.operation.text_input(state, id); } fn custom(&mut self, state: &mut dyn Any, id: Option<&widget::Id>) { @@ -262,7 +262,7 @@ where layout: Layout<'_>, cursor: mouse::Cursor, ) { - self.content.draw(renderer, theme, style, layout, cursor) + self.content.draw(renderer, theme, style, layout, cursor); } fn is_over( diff --git a/core/src/overlay/group.rs b/core/src/overlay/group.rs index a0bae6bb..dccf6dba 100644 --- a/core/src/overlay/group.rs +++ b/core/src/overlay/group.rs @@ -143,7 +143,7 @@ where |(child, layout)| { child.operate(layout, renderer, operation); }, - ) + ); }); } |