Skip to content

Commit

Permalink
Fix needless borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethloeffler committed Sep 25, 2023
1 parent e3ed64e commit 0f9f7c8
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 @@ -572,7 +572,7 @@ mod test {
};

let mut other_dom = WeakDom::new(InstanceBuilder::new("DataModel"));
let cloned = dom.clone_multiple_into_external(&dom.root().children(), &mut other_dom);
let cloned = dom.clone_multiple_into_external(dom.root().children(), &mut other_dom);

assert!(
other_dom.get_by_ref(cloned[0]).unwrap().parent.is_none(),
Expand Down

0 comments on commit 0f9f7c8

Please sign in to comment.