mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Fix bug caught by clippy
This commit is contained in:
parent
7fb9aa2115
commit
5a7d6a673a
1 changed files with 2 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ fn compute_children_patches<'a>(
|
||||||
.expect("Instance did not exist in tree");
|
.expect("Instance did not exist in tree");
|
||||||
|
|
||||||
if snapshot_child.name == instance_child.name
|
if snapshot_child.name == instance_child.name
|
||||||
&& instance_child.class_name == instance_child.class_name
|
&& snapshot_child.class_name == instance_child.class_name
|
||||||
{
|
{
|
||||||
paired_instances[*instance_index] = true;
|
paired_instances[*instance_index] = true;
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -327,4 +327,4 @@ mod test {
|
||||||
|
|
||||||
assert_eq!(patch_set, expected_patch_set);
|
assert_eq!(patch_set, expected_patch_set);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue