diff options
author | 2023-09-20 04:11:52 +0200 | |
---|---|---|
committer | 2023-09-20 04:11:52 +0200 | |
commit | 34f07b60273d6cfe13834af54cd0e24d34569387 (patch) | |
tree | 8d53809866fd0f8a6ca754dd26fb890c6249b788 /runtime | |
parent | 9991052ce5617abf0f270bc9a74627ab6d45b35d (diff) | |
download | iced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.gz iced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.bz2 iced-34f07b60273d6cfe13834af54cd0e24d34569387.zip |
Fix `clippy::semicolon_if_nothing_returned`
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/overlay/nested.rs | 2 | ||||
-rw-r--r-- | runtime/src/program/state.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/overlay/nested.rs b/runtime/src/overlay/nested.rs index 21b6f7c1..062ccc72 100644 --- a/runtime/src/overlay/nested.rs +++ b/runtime/src/overlay/nested.rs @@ -164,7 +164,7 @@ where } } - recurse(&mut self.overlay, layout, renderer, operation) + recurse(&mut self.overlay, layout, renderer, operation); } /// Processes a runtime [`Event`]. diff --git a/runtime/src/program/state.rs b/runtime/src/program/state.rs index 9aa2d550..6f8f4063 100644 --- a/runtime/src/program/state.rs +++ b/runtime/src/program/state.rs @@ -200,7 +200,7 @@ where match operation.finish() { operation::Outcome::None => {} operation::Outcome::Some(message) => { - self.queued_messages.push(message) + self.queued_messages.push(message); } operation::Outcome::Chain(next) => { current_operation = Some(next); |