Fix clippy::semicolon_if_nothing_returned
This commit is contained in:
parent
9991052ce5
commit
34f07b6027
46 changed files with 108 additions and 108 deletions
|
|
@ -61,7 +61,7 @@ impl Tree {
|
|||
Renderer: crate::Renderer,
|
||||
{
|
||||
if self.tag == new.borrow().tag() {
|
||||
new.borrow().diff(self)
|
||||
new.borrow().diff(self);
|
||||
} else {
|
||||
*self = Self::new(new);
|
||||
}
|
||||
|
|
@ -78,7 +78,7 @@ impl Tree {
|
|||
new_children,
|
||||
|tree, widget| tree.diff(widget.borrow()),
|
||||
|widget| Self::new(widget.borrow()),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/// Reconciliates the children of the tree with the provided list of widgets using custom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue