mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Refactor property extension in finalize_patch_application for improved readability
This commit is contained in:
parent
a1e270949d
commit
3cf452cb7b
1 changed files with 3 additions and 1 deletions
|
|
@ -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(..));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue