Skip to content

Commit

Permalink
Fix Plane::reparent_family actually calling reparent().
Browse files Browse the repository at this point in the history
  • Loading branch information
wreald authored and dankamongmen committed Sep 30, 2024
1 parent cb44ace commit 503b68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plane/plane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ impl Plane {
/// unless it's already the root of a pile, in which case this is a no-op.
#[inline]
pub fn reparent_family(&mut self, new_parent: &mut Plane) {
let _ = self.into_ref_mut().reparent(new_parent.into_ref_mut());
let _ = self.into_ref_mut().reparent_family(new_parent.into_ref_mut());
}
}

Expand Down

0 comments on commit 503b68f

Please sign in to comment.