mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix snapshot clippy lints (#685)
The sixth in a series of PRs that aim to get CI passing
This commit is contained in:
parent
5b1a090c5e
commit
a2f68c2e3c
3 changed files with 7 additions and 10 deletions
|
|
@ -97,8 +97,7 @@ fn finalize_patch_application(context: PatchApplyContext, tree: &mut RojoTree) -
|
|||
|
||||
for value in instance.properties_mut().values_mut() {
|
||||
if let Variant::Ref(referent) = value {
|
||||
if let Some(&instance_referent) = context.snapshot_id_to_instance_id.get(&referent)
|
||||
{
|
||||
if let Some(&instance_referent) = context.snapshot_id_to_instance_id.get(referent) {
|
||||
*value = Variant::Ref(instance_referent);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue