mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 15:16:07 +00:00
Fix bug caught by clippy
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user