Skip to content

Commit 6763561

Browse files
authored
btree/node.rs: remove incorrect comment from pop_internal_level docs
1 parent 77a4553 commit 6763561

File tree

1 file changed

+0
-3
lines changed
  • library/alloc/src/collections/btree

1 file changed

+0
-3
lines changed

library/alloc/src/collections/btree/node.rs

-3
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,6 @@ impl<K, V> NodeRef<marker::Owned, K, V, marker::LeafOrInternal> {
600600
/// no cleanup is done on any of the keys, values and other children.
601601
/// This decreases the height by 1 and is the opposite of `push_internal_level`.
602602
///
603-
/// Requires exclusive access to the `NodeRef` object but not to the root node;
604-
/// it will not invalidate other handles or references to the root node.
605-
///
606603
/// Panics if there is no internal level, i.e., if the root node is a leaf.
607604
pub(super) fn pop_internal_level<A: Allocator + Clone>(&mut self, alloc: A) {
608605
assert!(self.height > 0);

0 commit comments

Comments
 (0)