mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +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
|
|
@ -26,10 +26,8 @@ pub fn compute_patch_set(snapshot: Option<InstanceSnapshot>, tree: &RojoTree, id
|
|||
// for all of the IDs that we know about so far.
|
||||
rewrite_refs_in_updates(&context, &mut patch_set.updated_instances);
|
||||
rewrite_refs_in_additions(&context, &mut patch_set.added_instances);
|
||||
} else {
|
||||
if id != tree.get_root_id() {
|
||||
patch_set.removed_instances.push(id);
|
||||
}
|
||||
} else if id != tree.get_root_id() {
|
||||
patch_set.removed_instances.push(id);
|
||||
}
|
||||
|
||||
patch_set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue