diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-25 17:12:13 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-25 17:12:13 +0530 |
| commit | b6783e6b46c4d306a22c18acaefad89df895111e (patch) | |
| tree | bab8ed58f7d912d0373443703deff9306ad2a369 | |
| parent | 928e2e23945493a18bfc658a0adf2c06cb764e83 (diff) | |
| parent | 3d04cb36882280c44d24824df5cc0f349552d20f (diff) | |
| download | rust-b6783e6b46c4d306a22c18acaefad89df895111e.tar.gz rust-b6783e6b46c4d306a22c18acaefad89df895111e.zip | |
Rollup merge of #23617 - steveklabnik:gh23564, r=Manishearth
Fixes #23564
| -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 6edee82dc30..e4bc6a393c4 100644 --- a/src/libcollections/binary_heap.rs +++ b/src/libcollections/binary_heap.rs @@ -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")] |
