Skip to content

Commit

Permalink
remove extra validates
Browse files Browse the repository at this point in the history
  • Loading branch information
ngtkana committed Nov 11, 2023
1 parent 8f06fc5 commit 6e784e7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libs/rb/src/seq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,6 @@ pub fn unjoin<O: Op>(mut x: Ptr<Node<O>>, mut x_h: u8) -> (Tree<Node<O>>, Tree<N
*r.parent() = None;
}
while let Some(mut p) = *x.parent() {
#[cfg(test)]
left.validate();
#[cfg(test)]
right.validate();
*x.parent() = *p.parent();
let original_p_color = p.color;
if let Some(mut pp) = *p.parent() {
Expand Down

0 comments on commit 6e784e7

Please sign in to comment.