Skip to content

Commit

Permalink
Fix clippy lint in WeakDom::transfer_within (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dekkonot authored Jul 24, 2023
1 parent 68d48b6 commit fb4d474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbx_dom_weak/src/dom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ impl WeakDom {
panic!("cannot transfer the root instance of WeakDom");
}

let mut instance = self
let instance = self
.instances
.get_mut(&referent)
.unwrap_or_else(|| panic!("cannot move an instance that does not exist"));
Expand Down

0 comments on commit fb4d474

Please sign in to comment.