summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
2021-09-28Avoid allocations and copying in Vec::leakMatt Brubeck-1/+2
2021-09-26Auto merge of #89144 - sexxi-goose:insig_stdlib, r=nikomatsakisbors-0/+2
2021-09-25Rollup merge of #89216 - r00ster91:bigo, r=dtolnayManish Goregaokar-3/+3
2021-09-25Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514bors-7/+9
2021-09-25Apply 16 commits (squashed)Frank Steffahn-7/+9
2021-09-24consistent big O notationr00ster91-3/+3
2021-09-22PR fixupAman Arora-2/+2
2021-09-212229: Annotate stdlib with insignficant dtorsAman Arora-0/+2
2021-09-17Fix missing `no_global_oom_handling` cfg-gatingGary Guo-0/+1
2021-09-17Optimize unnecessary check in Vec::retainTennyZhuang-3/+24
2021-08-26Add missing # Panics section to `Vec` methodSebastian Widua-1/+6
2021-08-17Constified `Default` implementationsDeadbeef-1/+2
2021-08-12Add missing cfg attributeBenoît du Garreau-0/+3
2021-08-10Specialize `Vec::clone_from` for `Copy` typesBenoît du Garreau-10/+27
2021-08-08Auto merge of #86879 - YohDeadfall:stabilize-vec-shrink-to, r=dtolnaybors-2/+1
2021-08-08Bump shrink_to stabilization to Rust 1.56David Tolnay-1/+1
2021-08-05alloc: Use intra doc links for the reserve functionest31-2/+6
2021-08-02Rollup merge of #87644 - Flying-Toast:vec-remove-note, r=the8472Yuki Okushi-0/+6
2021-07-31Auto merge of #87488 - kornelski:track-remove, r=dtolnaybors-0/+2
2021-07-30Recommend `swap_remove` in `Vec::remove` docsFlying-Toast-0/+6
2021-07-29Fix may not to appropriate might not or must notAli Malik-2/+2
2021-07-28Documentation improvementsFrank Steffahn-2/+17
2021-07-28Make `SpecInPlaceCollect` use `TrustedRandomAccessNoCoerce`Frank Steffahn-2/+4
2021-07-28Remove redundant bounds on get_unchecked for vec_deque iterators, and run fmtFrank Steffahn-1/+3
2021-07-28Add back TrustedRandomAccess-specialization for Vec, but only without coercionsFrank Steffahn-1/+33
2021-07-28Remove unsound TrustedRandomAccess implementationsFrank Steffahn-30/+1
2021-07-26Track caller of Vec::remove()Kornel-0/+2
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