about summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
2025-08-12Add cast_init and cast_uninit methods for pointersltdk-1/+1
2025-08-12Handle the `capacity == 0` caseSabrinaJewson-27/+34
2025-08-11Respond to review commentsSabrinaJewson-5/+5
2025-08-11Make explicit guarantees about `Vec`’s allocatorSabrinaJewson-4/+47
2025-08-02Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=AmanieuSamuel Tardieu-5/+5
2025-07-30Implement push_mutBalt-14/+108
2025-07-25Avoid placing `// FIXME` comments inside doc code blocksJosh Triplett-4/+4
2025-07-25Improve and regularize comment placement in doc codeJosh Triplett-1/+1
2025-07-15Auto merge of #143877 - xizheyin:143813, r=scottmcm,saethlinbors-3/+17
2025-07-13update issue number for `const_trait_impl`Deadbeef-1/+1
2025-07-13std::vec: Add UB check in `from_parts_in`xizheyin-0/+5
2025-07-13std::vec: Add UB check in `from_raw_parts_in`xizheyin-0/+5
2025-07-13`std::vec`: Upgrade `debug_assert` to UB check in `set_len`xizheyin-2/+6
2025-07-13Fix typo in `std::vec`xizheyin-1/+1
2025-07-07Make `Default` const and add some `const Default` implsEsteban Küber-1/+2
2025-07-02Auto merge of #143338 - matthiaskrgr:rollup-ykaxh04, r=matthiaskrgrbors-82/+82
2025-07-02Rollup merge of #142138 - ashivaram23:vec_into_chunks, r=scottmcmMatthias Krüger-0/+55
2025-07-01Change `{Box,Arc,Rc,Weak}::into_raw` to only work with `A = Global`Amanieu d'Antras-82/+82
2025-06-11update docs, testJeremy Smart-5/+1
2025-06-07fix wording in assertAmogh Shivaram-1/+1
2025-06-07cfg for no no_global_oom_handlingAmogh Shivaram-0/+1
2025-06-06put feature attribute in exampleAmogh Shivaram-0/+2
2025-06-06Add `into_chunks`Amogh Shivaram-0/+52
2025-06-06fix testsJeremy Smart-0/+1
2025-06-04add Vec::peek_mutJeremy Smart-0/+90
2025-05-17Docs(lib/extract_if): Unify example descriptionPaul Mabileau-1/+1
2025-05-17Docs(lib/extract_if): Unify paragraph about elements mutationPaul Mabileau-2/+2
2025-05-17Docs(lib/extract_if): Unify paragraph about closure actionsPaul Mabileau-3/+3
2025-05-17Docs(lib/alloc/vec): Add the missing `an` to `extract_if`'s first sentencePaul Mabileau-1/+1
2025-05-15Rollup merge of #140685 - viliml:patch-1, r=Mark-SimulacrumMatthias Krüger-3/+3
2025-05-06Rollup merge of #139773 - thaliaarchi:vec-into-iter-last, r=workingjubileeStuart Cook-0/+5
2025-05-06Rollup merge of #139764 - dtolnay:extractif, r=AmanieuStuart Cook-2/+13
2025-05-05Consistent trait bounds for ExtractIf Debug implsDavid Tolnay-2/+13
2025-05-05Simplify `Vec::as_non_null` implementation and make it `const`Vilim Lendvaj-3/+3
2025-05-05Rollup merge of #135734 - nk9:extract_if-doc-equivalent, r=tgross35Trevor Gross-6/+12
2025-05-04extract_if's sample equivalent now really equivalent.Nick Kocharhook-6/+12
2025-05-03Suggest `retain_mut` over `retain` as `Vec::extract_if` alternativePaolo Barbolini-2/+2
2025-05-02Implement Iterator::last for vec::IntoIterThalia Archibald-0/+5
2025-04-28Rename sub_ptr to offset_from_unsigned in docsDaniPopes-2/+2
2025-04-20Implement lint against dangerous implicit autorefsUrgau-1/+1
2025-04-09replace version placeholderBoxy-12/+12
2025-04-08document panic behavior of Vec::resize and Vec::resize_withJonathan Gruner-0/+8
2025-03-30Delete unreacheable `#[rustc_on_unimplemented]`mejrs-8/+0
2025-03-16Rollup merge of #136293 - hkBst:patch-32, r=AmanieuJacob Pratt-0/+13
2025-03-09document capacity for ZST as example and proseMarijn Schouten-0/+13
2025-03-08Stabilize `const_vec_string_slice`Martin Habovstiak-7/+7
2025-03-07Fully test the alloc crate through alloctestsbjorn3-43/+9
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-17/+17
2025-02-24Rollup merge of #137109 - bend-n:knife, r=oli-obkTrevor Gross-9/+5
2025-02-24Rollup merge of #135933 - hkBst:patch-19, r=workingjubileeTrevor Gross-5/+17