1
Fork 0

Rollup merge of #23617 - steveklabnik:gh23564, r=Manishearth

Fixes #23564
This commit is contained in:
Manish Goregaokar 2015-03-25 17:12:13 +05:30
commit b6783e6b46

View file

@ -563,6 +563,8 @@ impl<T: Ord> BinaryHeap<T> {
pub fn is_empty(&self) -> bool { self.len() == 0 }
/// Clears the binary heap, returning an iterator over the removed elements.
///
/// The elements are removed in arbitrary order.
#[inline]
#[unstable(feature = "collections",
reason = "matches collection reform specification, waiting for dust to settle")]