Skip to content

Commit

Permalink
Merge pull request #79 from miek/clippy-fix-mut
Browse files Browse the repository at this point in the history
Clippy fix
  • Loading branch information
miek authored Jul 24, 2023
2 parents 447d155 + 21550e0 commit fa249ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree_list_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ where Item: 'static + Copy,
if children_added > 0 {
// Update this node's child counts.
let mut node = node_rc.borrow_mut();
let mut children = node.children_mut();
let children = node.children_mut();
children.direct_count += children_added;
children.total_count += children_added;
drop(node);
Expand Down

0 comments on commit fa249ee

Please sign in to comment.