about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
2021-12-12Rollup merge of #91814 - japm48:spelling-fix, r=RalfJungMatthias Krüger-8/+8
2021-12-12Rollup merge of #91746 - ssomers:btree_tests, r=Mark-SimulacrumMatthias Krüger-6/+38
2021-12-12doc: fix typo in commentsjapm48-8/+8
2021-12-11Fix zero-sized reference to deallocated memoryThe 8472-4/+6
2021-12-11update feature gateTennyZhuang-4/+4
2021-12-11add BinaryHeap::try_reserve and BinaryHeap::try_reserve_exactTennyZhuang-0/+79
2021-12-11Auto merge of #91761 - matthiaskrgr:rollup-bjowmvz, r=matthiaskrgrbors-21/+20
2021-12-10Rollup merge of #91755 - not-my-profile:fix-const_linked_list_new-since, r=dt...Matthias Krüger-1/+1
2021-12-10Rollup merge of #91709 - juniorbassani:use-from-array-in-set-examples, r=jyn514Matthias Krüger-19/+18
2021-12-10Rollup merge of #91686 - dalcde:patch-1, r=dtolnayMatthias Krüger-1/+1
2021-12-10Rollup merge of #91524 - rukai:fix_extend_from_slice_docs, r=dtolnayMatthias Krüger-1/+1
2021-12-10Rollup merge of #91482 - JosephTLyons:update-HashMap-and-BTreeMap-documentati...Matthias Krüger-4/+5
2021-12-10Fix since attribute for const_linked_list_new featureMartin Fischer-1/+1
2021-12-10BTree: improve public descriptions and commentsStein Somers-55/+58
2021-12-10BTree: assert presence of derived functionsStein Somers-0/+32
2021-12-10BTree: rename compile-time assertions to match library/alloc/testsStein Somers-6/+6
2021-12-09Auto merge of #85157 - the8472:drain-drop-in-place, r=Mark-Simulacrumbors-14/+39
2021-12-09Replace iterator-based set construction by *Set::From<[T; N]>Júnior Bassani-19/+18
2021-12-08Fix `Vec::reserve_exact` documentationDexter Chua-1/+1
2021-12-09Use `*mut [T]` instead of `[MaybeUninit<T>]`The 8472-7/+5
2021-12-08Use spare_capacity_mut instead of invalid unchecked indexingBen Kimock-2/+10
2021-12-07Rollup merge of #91547 - TennyZhuang:suggest_try_reserve, r=scottmcmMatthias Krüger-6/+6
2021-12-05Auto merge of #88611 - m-ou-se:array-into-iter-new-deprecate, r=joshtriplettbors-7/+7
2021-12-05doc: suggest try_reserve in try_reserve_exactTennyZhuang-6/+6
2021-12-05Rollup merge of #91215 - GuillaumeGomez:vec-deque-retain-mut, r=m-ou-seMatthias Krüger-3/+34
2021-12-04Use IntoIterator for array impl everywhere.Mara Bos-7/+7
2021-12-04Add documentation to more `From::from` implementations.Kevin Reid-4/+13
2021-12-04Optimize vec::retain performanceThe 8472-32/+29
2021-12-04update vec::retain benchmarksThe 8472-2/+17
2021-12-05Fix Vec::extend_from_slice docsLucas Kent-1/+1
2021-12-04Rollup merge of #90851 - ibraheemdev:downcast-unchecked, r=scottmcmMatthias Krüger-28/+109
2021-12-03fix stability annotations for `Box::downcast`Ibraheem Ahmed-2/+2
2021-12-03Auto merge of #91486 - matthiaskrgr:rollup-699fo18, r=matthiaskrgrbors-0/+36
2021-12-03Rollup merge of #88906 - Kixunil:box-maybe-uninit-write, r=dtolnayMatthias Krüger-0/+36
2021-12-03Auto merge of #91339 - cbarrete:vecdeque-remove-grow-check, r=Mark-Simulacrumbors-9/+11
2021-12-02Use `BTreeMap::from()` instead of using `BTreeMap::new()` with `BTreeMap::ins...Joseph T Lyons-4/+5
2021-12-02Implement write() method for Box<MaybeUninit<T>>Martin Habovstiak-0/+36
2021-12-02Rollup merge of #91394 - Mark-Simulacrum:bump-stage0, r=pietroalbiniMatthias Krüger-1/+0
2021-11-30Apply cfg-bootstrap switchMark Rousskov-1/+0
2021-11-30Auto merge of #91352 - nnethercote:RawVec-reserve_for_push, r=dtolnaybors-1/+9
2021-11-29Remove unnecessary check in VecDeque::growCédric Barreteau-9/+11
2021-11-30Introduce `RawVec::reserve_for_push`.Nicholas Nethercote-1/+9
2021-11-27Auto merge of #91241 - dtolnay:firstchunk, r=oli-obkbors-7/+5
2021-11-27Auto merge of #89916 - the8472:advance_by-avoid-err-0, r=dtolnaybors-0/+3
2021-11-26Add a unit test for zero-sized types in `RawVec`.Nicholas Nethercote-0/+84
2021-11-25Eliminate an unreachable codepath from String::from_utf8_lossyDavid Tolnay-7/+5
2021-11-25Implement VecDeque::retain_mutGuillaume Gomez-3/+34
2021-11-20fix doc links for `downcast_unchecked`Ibraheem Ahmed-0/+6
2021-11-20Rollup merge of #89741 - sdroege:arc-rc-from-inner-unsafe, r=Mark-SimulacrumMatthias Krüger-32/+45
2021-11-20document why we're not directly passing drop_ptr to drop_in_placeThe8472-0/+4