diff options
| -rw-r--r-- | src/libcollections/binary_heap.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs index 11c8656c994..9d896a057c0 100644 --- a/src/libcollections/binary_heap.rs +++ b/src/libcollections/binary_heap.rs @@ -555,6 +555,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")] |
