Skip to content

Commit

Permalink
fix(tree_index, 161): remove invalid debug assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
wvwwvwwv committed Sep 30, 2024
1 parent dffd1dd commit cb59224
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tree_index/leaf_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,9 @@ where
debug_assert!(unfrozen);

// Remove the mark from the full leaf node.
let unmarked = origin_leaf.unmark(Release);
debug_assert!(unmarked);
//
// `clear` clears the tag, so there is no guarantee that the tag has been kept.
origin_leaf.unmark(Release);
}

let origin = self.split_op.reset();
Expand Down

0 comments on commit cb59224

Please sign in to comment.