about summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
2021-07-24Auto merge of #84111 - bstrie:hashfrom, r=joshtriplettbors-4/+5
2021-07-06Stabilize Vec<T>::shrink_toYoh Deadfall-2/+1
2021-06-30impl From<[(K, V); N]> for std::collectionsbstrie-4/+5
2021-06-30Remove "length" doc aliasesAmanieu d'Antras-1/+0
2021-06-30Remove alloc/malloc/calloc/realloc doc aliasesAmanieu d'Antras-7/+0
2021-06-24Use `hash_one` to simplify some other doctestsScott McMurray-8/+3
2021-06-22Add comments around code where ordering is important due for panic-safetyThe8472-0/+8
2021-06-16Add doc(hidden) to all __iterator_get_uncheckedJacob Hoffman-Andrews-0/+1
2021-06-17Rollup merge of #86140 - scottmcm:array-hash-facepalm, r=kennytmYuki Okushi-0/+17
2021-06-08Mention the Borrow guarantee on the Hash implementations for Array and VecScott McMurray-0/+17
2021-06-06Rollup merge of #85930 - mominul:array_into_iter, r=m-ou-seYuki Okushi-5/+5
2021-06-04Rollup merge of #85717 - fee1-dead:document-cow, r=yaahcYuki Okushi-0/+18
2021-06-02Update expressions where we can use array's IntoIterator implementationMuhammad Mominul Huque-5/+5
2021-05-31Update documentation of SpecFromIter to reflect the removed implsFrank Steffahn-3/+1
2021-05-31Remove unnecessary SpecFromIter implsFrank Steffahn-31/+0
2021-05-30Rollup merge of #85817 - r00ster91:patch-9, r=dtolnayGuillaume Gomez-1/+1
2021-05-30Fix a typor00ster-1/+1
2021-05-27Revert "Auto merge of #83770 - the8472:tra-extend, r=Mark-Simulacrum"The8472-59/+25
2021-05-27Auto merge of #85737 - scottmcm:vec-calloc-option-nonzero, r=m-ou-sebors-0/+33
2021-05-26Enable Vec's calloc optimization for Option<NonZero>Scott McMurray-0/+33
2021-05-26Auto merge of #83770 - the8472:tra-extend, r=Mark-Simulacrumbors-25/+59
2021-05-26Document `From` impls for cow.rsDeadbeef-0/+18
2021-05-24Avoid a double drop in Vec::dedup if a destructor panicsGiacomo Stevanato-2/+3
2021-05-16mark internal inplace_iteration traits as hiddenThe8472-0/+2
2021-05-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-2/+60
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-15Merge same condition branch in vec spec_extendIvan Tham-4/+2
2021-04-12Improve code example for length comparisonGuillaume Gomez-1/+1
2021-04-08add TrustedRandomAccess specialization to vec::extendThe8472-25/+59
2021-04-02Rollup merge of #83629 - the8472:fix-inplace-panic-on-drop, r=m-ou-seDylan DPC-11/+20
2021-03-31panic early when TrustedLen indicates a length > usize::MAXThe8472-4/+20
2021-03-29fix double-drop in in-place collect specializationThe8472-11/+20
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-21specialize in-place collection further via TrustedRandomAccessThe8472-16/+53
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-40/+54
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