Skip to content

Commit 19eb9da

Browse files
btjgitbot
authored and
gitbot
committed
btree/node.rs: remove incorrect comment from pop_internal_level docs
1 parent 1b4b94a commit 19eb9da

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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)