summary refs log tree commit diff
path: root/library/alloc/src/vec/mod.rs
AgeCommit message (Expand)AuthorLines
2024-03-09Rollup merge of #120504 - kornelski:try_with_capacity, r=AmanieuGuillaume Boisseau-0/+34
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
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-08Reduce use of NonNull::new_unchecked in library/Ben Kimock-3/+3
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 #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-21Document some alternatives to `Vec::split_off`Zalathar-0/+6
2024-01-19fix: Drop guard was deallocating with the incorrect sizeThe 8472-1/+1
2024-01-18Clarify docs for Vec::into_boxed_slice, Vec::shrink_to_fitinvpt-7/+12
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-8/+2
2023-12-29Italicise "bytes" in the docs of some `Vec` methodsGurinder Singh-6/+6
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-11-28Add proper cfgsr0cky-0/+5
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-08-29Auto merge of #113859 - Manishearth:vec-as-mut-ptr-stacked-borrow, r=dtolnaybors-0/+51
2023-08-16Update library/alloc/src/vec/mod.rsManish Goregaokar-1/+1
2023-08-16Update library/alloc/src/vec/mod.rsManish Goregaokar-1/+2
2023-08-15other elementsManish Goregaokar-3/+3
2023-08-15Update library/alloc/src/vec/mod.rsManish Goregaokar-1/+1
2023-08-15Update library/alloc/src/vec/mod.rsManish Goregaokar-1/+1
2023-08-12aliasing guaranteeManish Goregaokar-25/+40
2023-08-06Add #[rustc_never_returns_null_ptr] to std functionsest31-0/+2
2023-07-29Documentation: Fix Stilted Language in Vec->IndexingRyan O'Neill-1/+1
2023-07-25Add note that Vec::as_mut_ptr() does not materialize a reference to the inter...Manish Goregaokar-0/+35
2023-07-22Auto merge of #113224 - zachs18:vec_extend_remove_allocator_lifetime, r=cuviperbors-1/+1
2023-07-16Implement `From<{&,&mut} [T; N]>` for `Vec<T>`EFanZh-0/+30