Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed Jul 29, 2023
1 parent 7f0288d commit 9634df2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl Component for GrandParent {
match msg {
Msg::ButtonClick(childs_name) => {
// Update the shared state
let mut shared_state = Rc::make_mut(&mut self.state);
let shared_state = Rc::make_mut(&mut self.state);
shared_state.total_clicks += 1;
shared_state.last_clicked = Some(childs_name);
true
Expand Down

0 comments on commit 9634df2

Please sign in to comment.