about summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
2022-03-23fix some links, clarify documentation based on review feedbackThe 8472-12/+19
2022-03-22Remove impossible panic note from `Vec::append`Tobias Bucher-1/+1
2022-03-22rename internal helper trait AsIntoIter to AsVecIntoIterThe 8472-8/+8
2022-03-21add module-level documentation for vec's in-place iterationThe8472-20/+157
2022-03-21move AsIntoIter helper trait and mark it as unsafeThe8472-10/+13
2022-03-21rename module to better reflect its purposeThe8472-1/+1
2022-03-18impl From<&[T; N]> and From<&mut [T; N]> for Vec<T>Jake Goulding-0/+42
2022-03-16Docs: make Vec::from_raw_parts documentation less strictJP Posma-3/+7
2022-03-11Rollup merge of #94826 - allgoewer:fix-retain-documentation, r=yaahcDylan DPC-1/+1
2022-03-11Improve doc wording for retain on some collectionsMaik Allgöwer-1/+1
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-7/+7
2022-02-28Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPCMatthias Krüger-2/+2
2022-02-19Collections: improve the documentation of drain membersStein Somers-7/+12
2022-02-17Rollup merge of #89869 - kpreid:from-doc, r=yaahcMatthias Krüger-4/+5
2022-02-08Allow comparing `Vec`s with different allocators using `==`Chayim Refael Friedman-1/+1
2022-01-19Improve estimation of capacity in Vec::from_iterAngelicosPhosphoros-2/+8
2022-01-18Rollup merge of #93016 - Amanieu:vec_spare_capacity, r=Mark-SimulacrumMatthias Krüger-3/+1
2022-01-17Stabilize vec_spare_capacityAmanieu d'Antras-3/+1
2022-01-16Docs: recommend VecDeque instead of Vec::remove(0)Kornel-1/+9
2022-01-13Add Sync bound to allocator parameter in vec::IntoIterMichael Goulet-1/+1
2022-01-08Auto merge of #92068 - fee1-dead:libcore2021, r=m-ou-sebors-3/+0
2022-01-06remove unused ExtendDefault structFrank Steffahn-10/+0
2022-01-01Rollup merge of #92463 - thomcc:thats-not-how-its-pronounced, r=joshtriplettMatthias Krüger-1/+1
2022-01-01Rollup merge of #92097 - saethlin:split-without-deref, r=the8472Matthias Krüger-2/+7
2021-12-31Clarify safety commentBen Kimock-0/+2
2021-12-31Remove pronunciation guide from Vec<T>Thom Chiovoloni-1/+1
2021-12-29fix typo in btree/vec doc: Self -> selfVeeupup-2/+2
2021-12-24Remove `maybe_uninit_extra` feature from Vec docsShadlock0133-2/+2
2021-12-23Bless a few testsDeadbeef-3/+0
2021-12-19Implement split_at_spare_mut directlyBen Kimock-2/+5
2021-12-19paniced -> panickedr00ster-1/+1
2021-12-18Update example code for Vec::splice to change the lengthajtribick-5/+5
2021-12-16Auto merge of #91527 - the8472:retain-opt, r=dtolnaybors-32/+29
2021-12-11Fix zero-sized reference to deallocated memoryThe 8472-4/+6
2021-12-11Auto merge of #91761 - matthiaskrgr:rollup-bjowmvz, r=matthiaskrgrbors-1/+1
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-09Auto merge of #85157 - the8472:drain-drop-in-place, r=Mark-Simulacrumbors-14/+39
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-05doc: suggest try_reserve in try_reserve_exactTennyZhuang-2/+2
2021-12-04Add documentation to more `From::from` implementations.Kevin Reid-4/+5
2021-12-04Optimize vec::retain performanceThe 8472-32/+29
2021-12-05Fix Vec::extend_from_slice docsLucas Kent-1/+1
2021-11-30Introduce `RawVec::reserve_for_push`.Nicholas Nethercote-1/+1
2021-11-20document why we're not directly passing drop_ptr to drop_in_placeThe8472-0/+4
2021-11-20replace vec::Drain drop loops with drop_in_placeThe8472-14/+37
2021-11-19Rollup merge of #90480 - r00ster91:remove, r=kennytmYuki Okushi-1/+4
2021-11-12Add Vec::retain_mutGuillaume Gomez-1/+29
2021-11-01mention `remove` in `swap_remove`r00ster91-1/+4