summaryrefslogtreecommitdiffstats
path: root/widget/src/tooltip.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:11:52 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:11:52 +0200
commit34f07b60273d6cfe13834af54cd0e24d34569387 (patch)
tree8d53809866fd0f8a6ca754dd26fb890c6249b788 /widget/src/tooltip.rs
parent9991052ce5617abf0f270bc9a74627ab6d45b35d (diff)
downloadiced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.gz
iced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.bz2
iced-34f07b60273d6cfe13834af54cd0e24d34569387.zip
Fix `clippy::semicolon_if_nothing_returned`
Diffstat (limited to 'widget/src/tooltip.rs')
-rw-r--r--widget/src/tooltip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/tooltip.rs b/widget/src/tooltip.rs
index edc74e31..b041d2e9 100644
--- a/widget/src/tooltip.rs
+++ b/widget/src/tooltip.rs
@@ -114,7 +114,7 @@ where
}
fn diff(&self, tree: &mut widget::Tree) {
- tree.diff_children(&[self.content.as_widget(), &self.tooltip])
+ tree.diff_children(&[self.content.as_widget(), &self.tooltip]);
}
fn state(&self) -> widget::tree::State {