We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 928e2e2 + 3d04cb3 commit 3569377Copy full SHA for 3569377
src/libcollections/binary_heap.rs
@@ -563,6 +563,8 @@ impl<T: Ord> BinaryHeap<T> {
563
pub fn is_empty(&self) -> bool { self.len() == 0 }
564
565
/// Clears the binary heap, returning an iterator over the removed elements.
566
+ ///
567
+ /// The elements are removed in arbitrary order.
568
#[inline]
569
#[unstable(feature = "collections",
570
reason = "matches collection reform specification, waiting for dust to settle")]
0 commit comments