From 0f9f7c8f06ce6f2558bdff6526edfdff2cc14ee8 Mon Sep 17 00:00:00 2001 From: Kenneth Loeffler Date: Mon, 25 Sep 2023 14:12:51 -0700 Subject: [PATCH] Fix needless borrow --- rbx_dom_weak/src/dom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbx_dom_weak/src/dom.rs b/rbx_dom_weak/src/dom.rs index e475a6398..d18b26da1 100644 --- a/rbx_dom_weak/src/dom.rs +++ b/rbx_dom_weak/src/dom.rs @@ -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(),