Remove unnecessary clone.

This commit is contained in:
Robin KAY 2023-11-08 22:17:19 +00:00
parent 600f58ba73
commit 6dcf604b93
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ pub(crate) fn compute_outline(
for (entity, mut computed, components, children) in root_query.iter_mut() {
let changed = update_computed_outline(&mut computed, components, &default(), None, false);
if let Some(cs) = children {
let parent_computed = &computed.0.as_ref().unwrap().clone();
let parent_computed = computed.0.as_ref().unwrap();
for child in cs.iter() {
propagate_computed_outline(
parent_computed,