We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf8c64 commit 3d04cb3Copy full SHA for 3d04cb3
src/libcollections/binary_heap.rs
@@ -555,6 +555,8 @@ impl<T: Ord> BinaryHeap<T> {
555
pub fn is_empty(&self) -> bool { self.len() == 0 }
556
557
/// Clears the binary heap, returning an iterator over the removed elements.
558
+ ///
559
+ /// The elements are removed in arbitrary order.
560
#[inline]
561
#[unstable(feature = "collections",
562
reason = "matches collection reform specification, waiting for dust to settle")]
0 commit comments