about summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-2/+24
2024-04-12Avoid more NonNull-raw-NonNull roundtrips in VecBen Kimock-15/+44
2024-03-28Rename reserve_for_push to grow_one and fix comment.Cai Bear-2/+2
2024-03-28Remove len argument from RawVec::reserve_for_push because it's always equal t...Cai Bear-2/+2
2024-03-27Rollup merge of #123107 - avandesa:vec_pop_if, r=joboetMatthias Krüger-0/+25
2024-03-26Implement `Vec::pop_if`Alex van de Sandt-0/+25
2024-03-25Require DerefPure for patternsMichael Goulet-0/+3
2024-03-21Auto merge of #122785 - the8472:const-select-specialized-impl, r=Amanieubors-79/+89
2024-03-20select Vec::from_iter impls in a const block to optimize compile timesThe 8472-79/+89
2024-03-19fix OOB pointer formed in Vec::indexJoshua Wong-4/+3
2024-03-17Improve wording of `Vec::swap_remove`Pierre Allix-1/+1
2024-03-09Rollup merge of #120504 - kornelski:try_with_capacity, r=AmanieuGuillaume Boisseau-0/+34
2024-03-08Document overrides of `clone_from()`Noa-2/+24
2024-03-05Rollup merge of #121262 - 20jasper:add-vector-time-complexity, r=cuviperMatthias Krüger-0/+21
2024-03-01try_with_capacity for Vec, VecDeque, StringKornel-0/+34
2024-02-26Document args returned from `Vec::into_raw_parts{,_with_alloc}`许杰友 Jieyou Xu (Joe)-2/+2
2024-02-26Rearrange `Vec::from_raw_parts{,_in}` doc argument order to match code argume...许杰友 Jieyou Xu (Joe)-2/+2
2024-02-25Make push docs more vagueJacob Asper-4/+3
2024-02-23Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnaybors-32/+19
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+3
2024-02-22Use generic `NonZero` everywhere in `alloc`.Markus Reiter-32/+19
2024-02-18Fix error in push docsJacob Asper-4/+5
2024-02-18fix typo in push documentationJacob Asper-1/+1
2024-02-18intradoc link for vecJacob Asper-1/+1
2024-02-18time complexity for insertJacob Asper-0/+6
2024-02-18time complexity for popJacob Asper-0/+4
2024-02-18time complexity for push_within_capacityJacob Asper-0/+4
2024-02-18time complexity for pushJacob Asper-0/+7
2024-02-16Don't use mem::zeroed in vec::IntoIterBen Kimock-34/+29
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-4/+4
2024-02-15Use generic `NonZero` internally.Markus Reiter-10/+10
2024-02-09Auto merge of #120676 - Mark-Simulacrum:bootstrap-bump, r=clubby789bors-1/+1
2024-02-08Reduce use of NonNull::new_unchecked in library/Ben Kimock-4/+4
2024-02-08Bump version placeholdersMark Rousskov-1/+1
2024-01-30Apply suggestions from code reviewthe8472-12/+11
2024-01-30document `FromIterator for Vec` allocation behaviorsThe 8472-0/+45
2024-01-26Rollup merge of #113489 - tguichaoua:cow_from_array, r=dtolnayMatthias Krüger-0/+13
2024-01-26Rollup merge of #119917 - Zalathar:split-off, r=cuviperMatthias Krüger-8/+0
2024-01-23Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviperbors-1/+1
2024-01-21Rollup merge of #120180 - Zalathar:vec-split-off-alternatives, r=dtolnayMatthias Krüger-0/+6
2024-01-21Rollup merge of #120145 - the8472:fix-inplace-dest-drop, r=cuviperMatthias Krüger-13/+25
2024-01-21Document some alternatives to `Vec::split_off`Zalathar-0/+6
2024-01-20Rollup merge of #120116 - the8472:only-same-alignments, r=cuviperGuillaume Gomez-12/+15
2024-01-19fix: Drop guard was deallocating with the incorrect sizeThe 8472-13/+25
2024-01-18Clarify docs for Vec::into_boxed_slice, Vec::shrink_to_fitinvpt-7/+12
2024-01-18remove alignment-changing in-place collectThe 8472-5/+8
2024-01-18update internal ASCII art comment for vec specializationsThe 8472-7/+7
2024-01-16Fix typo in comments (in_place_collect)Robert Grosse-1/+1
2024-01-13libs: use `assert_unchecked` instead of intrinsicjoboet-1/+1
2024-01-13Remove special-case handling of `vec.split_off(0)`Zalathar-8/+0