summary refs log tree commit diff
path: root/library/alloc/src/vec/mod.rs
AgeCommit message (Expand)AuthorLines
2024-10-07Rollup merge of #128399 - mammothbane:master, r=Amanieu,tgross35Stuart Cook-11/+44
2024-10-06liballoc: introduce String, Vec const-slicingNathan Perry-11/+44
2024-09-20Add `Vec::as_non_null`Tim (Theemathas) Chirananthavat-2/+69
2024-09-19[Clippy] Swap `manual_while_let_some` to use diagnostic items instead of pathsGnomedDev-0/+2
2024-09-19[Clippy] Swap `repeat_vec_with_capacity` to use diagnostic item instead of pathGnomedDev-0/+1
2024-09-19[Clippy] Swap `VecArgs::hir` to use diagnostic items instead of pathsGnomedDev-0/+2
2024-09-19[Clippy] Swap `option_as_ref_deref` to use diagnostic items instead of pathsGnomedDev-0/+2
2024-09-15Rollup merge of #130061 - theemathas:box_vec_non_null, r=MarkSimulacrum,worki...Stuart Cook-14/+306
2024-09-15Add tracking issue number for `box_vec_non_null`Tim (Theemathas) Chirananthavat-4/+4
2024-09-08add FIXME(const-hack)Ralf Jung-1/+1
2024-09-07Add `NonNull` convenience methods to `Vec`Tim (Theemathas) Chirananthavat-14/+306
2024-09-02Auto merge of #129063 - the8472:cold-opt-size, r=Amanieubors-0/+4
2024-08-14apply #[optimize(size)] to #[cold] ones and part of the panick machineryThe 8472-0/+4
2024-08-14add Box::as_ptr and Box::as_mut_ptr methodsRalf Jung-2/+1
2024-08-03Rollup merge of #127586 - zachs18:more-must-use, r=cuviperMatthias Krüger-0/+2
2024-07-30Auto merge of #128234 - jcsp:retain-empty-case, r=tgross35bors-0/+6
2024-07-29Optimize empty case in Vec::retainJohn Spray-0/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+2
2024-07-28Rollup merge of #127765 - bitfield:fix_stdlib_doc_nits, r=dtolnayGuillaume Gomez-12/+14
2024-07-27Rollup merge of #125897 - RalfJung:from-ref, r=AmanieuTrevor Gross-2/+2
2024-07-26Fix doc nitsJohn Arundel-12/+14
2024-07-13Rollup merge of #127446 - zachs18:miri-stdlib-leaks-core-alloc, r=Mark-Simula...Jubilee-0/+6
2024-07-10Clarify/add `must_use` messages for more `into_raw*` functions of `alloc` types.Zachary S-0/+2
2024-07-07Specialize `TrustedLen` for `Iterator::unzip()`Chayim Refael Friedman-0/+20
2024-07-06Mitigate focused memory leaks in `alloc` doctests for Miri.Zachary S-0/+6
2024-07-01Avoid MIR bloat in inliningScott McMurray-0/+1
2024-06-11replace version placeholderPietro Albini-1/+1
2024-06-06less garbage, more examplesRalf Jung-2/+2
2024-05-26Stabilize `slice_flatten`Cyborus-3/+1
2024-04-20Avoid reloading Vec::len across grow_one in pushMark Rousskov-3/+5
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-0/+27
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-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-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+3
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