about summary refs log tree commit diff
path: root/library/alloc/src/collections/binary_heap.rs
AgeCommit message (Expand)AuthorLines
2021-10-11Rollup merge of #89726 - jkugelman:must-use-alloc-constructors, r=joshtriplettGuillaume Gomez-0/+2
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-0/+2
2021-10-10Add #[must_use] to alloc constructorsJohn Kugelman-0/+2
2021-09-25Rollup merge of #89216 - r00ster91:bigo, r=dtolnayManish Goregaokar-4/+4
2021-09-24consistent big O notationr00ster91-4/+4
2021-09-16Add IntoIterator intra doc link to various collectionsest31-1/+2
2021-09-16Add intra-doc-links to BinaryHeap rustdocest31-3/+7
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-08Auto merge of #86879 - YohDeadfall:stabilize-vec-shrink-to, r=dtolnaybors-2/+1
2021-08-08Bump shrink_to stabilization to Rust 1.56David Tolnay-1/+1
2021-07-24Auto merge of #84111 - bstrie:hashfrom, r=joshtriplettbors-0/+24
2021-07-24Update std_collections_from_array stability versionbstrie-1/+1
2021-07-06Stabilize Vec<T>::shrink_toYoh Deadfall-2/+1
2021-06-30impl From<[(K, V); N]> for std::collectionsbstrie-0/+24
2021-06-30Remove "length" doc aliasesAmanieu d'Antras-1/+0
2021-05-16mark internal inplace_iteration traits as hiddenThe8472-0/+2
2021-04-22Improve BinaryHeap::retain.Mara Bos-32/+53
2021-03-30Rollup merge of #82331 - frol:feat/std-binary-heap-as-slice, r=AmanieuDylan DPC-0/+21
2021-03-29Updated the tracking issue #Vlad Frolov-1/+1
2021-03-13provide a more realistic example for BinaryHeap::as_sliceVlad Frolov-5/+3
2021-03-09Rollup merge of #81127 - hanmertens:binary_heap_sift_down_perf, r=dtolnayMara Bos-2/+2
2021-03-01Add diagnostic itemsCameron Steffen-0/+1
2021-02-21Improve sift_down performance in BinaryHeapHan Mertens-2/+2
2021-02-20Add FIXME for safety comments that are invalid when T is a ZSTGiacomo Stevanato-0/+4
2021-02-20Document BinaryHeap unsafe functionsGiacomo Stevanato-49/+113
2021-02-20alloc: Added `as_slice` method to `BinaryHeap` collectionVlad Frolov-0/+23
2021-01-26shrink_to shouldn't panic on len greater than capacityThom Wiggers-2/+1
2021-01-16Rollup merge of #80681 - ChrisJefferson:logic-error-doc, r=m-ou-seMara Bos-1/+4
2021-01-16Clarify what the effects of a 'logic error' areChris Jefferson-1/+4
2021-01-15Change rebuild heuristic in BinaryHeap::appendHan Mertens-2/+8
2020-12-28Add "length" as doc alias to len methodsKonrad Borowski-0/+1
2020-11-09Added SAFETY comment as requestGiacomo Stevanato-0/+4
2020-11-07Remove useless bound checks from into_sorted_vecGiacomo Stevanato-1/+4
2020-11-07Remove useless branches from sift_down_range loopGiacomo Stevanato-6/+6
2020-11-07Remove branches from sift_down_to_bottom loopGiacomo Stevanato-6/+5
2020-10-31fix aliasing issue in binary_heapRalf Jung-2/+3
2020-09-23Use Self in allocAlexis Bourget-2/+2
2020-09-21Auto merge of #75974 - SkiFire13:peekmut-opt-sift, r=LukasKalbertodtbors-2/+4
2020-09-20Rollup merge of #76875 - denisvasilik:intra-doc-links-alloc-binary-heap, r=jy...Ralf Jung-20/+14
2020-09-20Fix time complexity in BinaryHeap::peek_mut docsGiacomo Stevanato-1/+2
2020-09-20Set sift=true only when PeekMut yields a mutable referenceGiacomo Stevanato-1/+2
2020-09-19Use `T::BITS` instead of `size_of::<T> * 8`.Mara Bos-2/+2
2020-09-18Update library/alloc/src/collections/binary_heap.rsDenis Vasilik-1/+1
2020-09-18Update library/alloc/src/collections/binary_heap.rsDenis Vasilik-1/+1
2020-09-18Update library/alloc/src/collections/binary_heap.rsDenis Vasilik-1/+1
2020-09-18Update library/alloc/src/collections/binary_heap.rsDenis Vasilik-1/+1
2020-09-18Use intra-doc linksDenis Vasilik-16/+10
2020-09-09Add documentation for `impl<T> From<BinaryHeap<T>> for Vec<T>`Michael Howell-0/+4
2020-09-03generalize in-place collect to types of same size and alignmentThe8472-2/+4
2020-09-03pacify tidyThe8472-3/+3