Fix snapshot clippy lints (#685)

The sixth in a series of PRs that aim to get CI passing
This commit is contained in:
Kenneth Loeffler
2023-06-30 11:05:55 -07:00
committed by GitHub
parent 5b1a090c5e
commit a2f68c2e3c
3 changed files with 7 additions and 10 deletions

View File

@@ -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);
}
}