about summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
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
2024-01-07mark vec::IntoIter pointers as `!nonnull`The 8472-49/+73
2024-01-07typo fixThe 8472-1/+1
2023-12-29Italicise "bytes" in the docs of some `Vec` methodsGurinder Singh-6/+6
2023-12-06Auto merge of #118460 - the8472:fix-vec-realloc, r=saethlinbors-7/+27
2023-12-05Auto merge of #118273 - AngelicosPhosphoros:dedup_2_loops_version_77772_2, r=...bors-12/+45
2023-12-05Split `Vec::dedup_by` into 2 cyclesAngelicosPhosphoros-12/+45
2023-12-05Fix in-place collect not reallocating when necessaryThe 8472-7/+27
2023-11-29Rollup merge of #118398 - mu001999:std/add_cfgs, r=thomccMatthias Krüger-0/+5
2023-11-28Auto merge of #110353 - the8472:in-place-flatten-chunks, r=cuviperbors-27/+118
2023-11-28Add proper cfgsr0cky-0/+5
2023-11-20docs(GH-118094): make docs a bit more explicitPetr Portnov-3/+3
2023-11-20chore(GH-118094): explicitly mark `_elem` as unusedPetr Portnov-1/+1
2023-11-20feat: specialize `SpecFromElem` for `()`Petr Portnov-4/+19
2023-11-15Re-format code with new rustfmtMark Rousskov-3/+1
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-1/+1
2023-10-29Increase the reach of panic_immediate_abortBen Kimock-4/+7
2023-10-16Add invariant to Vec::pop that len < cap if pop successfulArthur Carcano-0/+1
2023-10-08Bump to latest betaMark Rousskov-2/+2
2023-10-03Bump version placeholdersMark Rousskov-2/+2
2023-09-28Auto merge of #111278 - EFanZh:implement-from-array-refs-for-vec, r=dtolnaybors-0/+30
2023-09-16edit `std::vec::Vec::truncate` docsmxnkarou-2/+2
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-0/+2
2023-09-03unchecked layout calculations when shrinking during in-place collectThe 8472-2/+12
2023-09-03relax size and alignment requirements for in-place iterationThe 8472-8/+11
2023-09-03update in-place-iteration module docsThe 8472-8/+25
2023-09-03don't leak items if alloc::shrink panicsThe 8472-2/+6
2023-09-03Expand in-place iteration specialization to Flatten, FlatMap and ArrayChunksThe 8472-19/+76