Refactor property extension in finalize_patch_application for improved readability

This commit is contained in:
Joe 2026-01-20 21:12:31 -06:00
parent a1e270949d
commit 3cf452cb7b

View file

@ -160,7 +160,9 @@ fn finalize_patch_application(context: PatchApplyContext, tree: &mut RojoTree) -
let mut instance = tree
.get_instance_mut(id)
.expect("Invalid instance ID in deferred external ref map");
instance.properties_mut().extend(external_rewrites.drain(..));
instance
.properties_mut()
.extend(external_rewrites.drain(..));
}
}