about summary refs log tree commit diff
path: root/library/alloc/src/vec/mod.rs
AgeCommit message (Expand)AuthorLines
2021-06-08Mention the Borrow guarantee on the Hash implementations for Array and VecScott McMurray-0/+17
2021-06-02Update expressions where we can use array's IntoIterator implementationMuhammad Mominul Huque-4/+4
2021-05-24Avoid a double drop in Vec::dedup if a destructor panicsGiacomo Stevanato-2/+3
2021-05-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-2/+54
2021-04-28Stabilize vec_extend_from_withinAmanieu d'Antras-3/+1
2021-04-21Remove duplicated fn(Box<[T]>) -> Vec<T>Caleb Sander-2/+1
2021-04-18Slightly change wording and fix typo in vec/mod.rsWaffle Lapkin-2/+2
2021-04-12Improve code example for length comparisonGuillaume Gomez-1/+1
2021-03-31panic early when TrustedLen indicates a length > usize::MAXThe8472-0/+8
2021-03-28Auto merge of #83582 - jyn514:might-not, r=joshtriplettbors-3/+3
2021-03-27may not -> might notJoshua Nelson-3/+3
2021-03-26Use iter::zip in library/Josh Stone-6/+3
2021-03-25Change wordingMichael Howell-2/+2
2021-03-24Add docs for Vec::from functionsMichael Howell-0/+61
2021-03-18Rollup merge of #82191 - Soveu:dedup, r=nagisaDylan DPC-6/+89
2021-03-16Rollup merge of #83072 - henryboisdequin:patch-1, r=Dylan-DPCYuki Okushi-3/+3
2021-03-15Merge branch 'master' into dedupSoveu-37/+53
2021-03-15Vec::dedup optimization - finishing polishesSoveu-11/+7
2021-03-13Update `Vec` docsHenry Boisdequin-3/+3
2021-03-04Add regression test for `Vec::extend_from_within` leakWaffle-3/+5
2021-03-04Fix leak in Vec::extend_from_withinWaffle-16/+27
2021-03-04Rollup merge of #82564 - WaffleLapkin:revert_spare_mut, r=RalfJungYuki Okushi-10/+14
2021-03-03Update library/alloc/src/vec/mod.rsWaffle Lapkin-1/+1
2021-03-03Make Vec::split_at_spare_mut impl safer & simplierWaffle-9/+5
2021-02-27Revert `Vec::spare_capacity_mut` impl to prevent pointers invalidationWaffle-1/+9
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-4/+2
2021-02-24library: Normalize safety-for-unsafe-block commentsMiguel Ojeda-8/+9
2021-02-23Rollup merge of #81154 - dylni:improve-design-of-assert-len, r=KodrAusDylan DPC-3/+3
2021-02-17Vec::dedup optimization - panic gracefullySoveu-16/+65
2021-02-16Vec::dedup optimizationSoveu-6/+44
2021-02-13Rollup merge of #81811 - schteve:fix_vec_retain_doc_test, r=m-ou-seYuki Okushi-3/+4
2021-02-12Update new usage of `assert_len`dylni-2/+2
2021-02-12Rename `Range::ensure_subset_of` to `slice::range`dylni-1/+1
2021-02-12Fix possible soundness issue in `ensure_subset_of`dylni-1/+1
2021-02-12Improve design of `assert_len`dylni-1/+1
2021-02-11Auto merge of #81126 - oxalica:retain-early-drop, r=m-ou-sebors-11/+64
2021-02-10update tracking issue for vec_split_at_spareAshley Mannix-1/+1
2021-02-06Fix doc test for Vec::retain(), now passes clippy::eval_order_dependenceSteve Heindel-3/+4
2021-02-03Add note to `Vec::split_at_spare_mut` docs that the method is low-levelWaffle-0/+15
2021-02-03fix typo in library/alloc/src/vec/mod.rsWaffle Lapkin-1/+1
2021-02-03Make Vec::split_at_spare_mut publicWaffle-1/+38
2021-02-02Auto merge of #79015 - WaffleLapkin:vec_append_from_within, r=KodrAusbors-4/+109
2021-02-02update tracking issue for vec_extend_from_withinAshley Mannix-1/+1
2021-01-31add `Vec::extend_from_within` methodWaffle-4/+109
2021-01-29Updated Vec::splice documentationChan Kwan Yin-1/+1
2021-01-26shrink_to shouldn't panic on len greater than capacityThom Wiggers-6/+6
2021-01-24Fix and simplifyoxalica-22/+22
2021-01-22Add doc aliases for memory allocationsYoshua Wuyts-0/+7
2021-01-21Remove link to current sectionIvan Tham-2/+1
2021-01-20Add more details explaning the Vec visualizationIvan Tham-20/+22