about summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
2022-07-27Auto merge of #98553 - the8472:next_chunk_opt, r=Mark-Simulacrumbors-2/+39
2022-07-26Optimized vec::IntoIter::next_chunk implThe 8472-2/+39
2022-07-24Support vec zero-alloc optimization for tuples and byte arraysAngelicosPhosphoros-17/+46
2022-07-14add code examplesDuarte Nunes-1/+50
2022-07-13rustdocDuarte Nunes-1/+1
2022-07-13typoDuarte Nunes-2/+2
2022-07-13changes to wordingDuarte Nunes-9/+15
2022-07-13docs: be less harsh in wording for Vec::from_raw_partsDuarte Nunes-5/+15
2022-07-03Auto merge of #98755 - nnethercote:faster-vec-insert, r=cuviperbors-6/+9
2022-07-03Auto merge of #98673 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrumbors-1/+1
2022-07-01update cfg(bootstrap)sPietro Albini-1/+1
2022-07-01Optimize `Vec::insert` for the case where `index == len`.Nicholas Nethercote-6/+9
2022-06-29alloc: fix `no_global_oom_handling` warningsMiguel Ojeda-0/+2
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-28/+57
2022-06-05Add vec::Drain{,Filter}::keep_restMaybe Waffle-3/+93
2022-06-02Auto merge of #97293 - est31:remove_box, r=oli-obkbors-2/+5
2022-06-01Auto merge of #97553 - nbdd0121:lib, r=Mark-Simulacrumbors-0/+2
2022-06-01Use #[rustc_box] in alloc instead of box syntaxest31-2/+5
2022-05-31Rollup merge of #97578 - ojeda:checkpatch, r=JohnTitorMatthias Krüger-1/+1
2022-05-31Auto merge of #97521 - SkiFire13:clarify-vec-as-ptr, r=Dylan-DPCbors-2/+4
2022-05-31alloc: remove repeated word in commentMiguel Ojeda-1/+1
2022-05-30Add `#[inline]` to `Vec`'s `Deref/DerefMut`Gary Guo-0/+2
2022-05-29Clarify the guarantees of Vec::as_ptr and Vec::as_mut_ptr when there's no all...Giacomo Stevanato-2/+4
2022-05-28Rollup merge of #95214 - tbu-:pr_vec_append_doc, r=Mark-SimulacrumMatthias Krüger-1/+1
2022-05-23Rollup merge of #97087 - Nilstrieb:clarify-slice-iteration-order, r=dtolnayDylan DPC-4/+7
2022-05-19Reverse condition in Vec::retain_mut doctestajtribick-3/+3
2022-05-16Clarify slice and Vec iteration orderNilstrieb-4/+7
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-4/+4
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-4/+4
2022-05-08Warn on unused doc(hidden) on trait impl itemsLeón Orell Valerian Liehr-1/+0
2022-05-02Auto merge of #96596 - scottmcm:limited-calloc, r=Mark-Simulacrumbors-1/+8
2022-05-01Tweak the calloc optimization to only apply to shortish-arraysScott McMurray-1/+8
2022-05-02Rollup merge of #96222 - jmaargh:john-mark/clarify-from-raw-parts-docs, r=Joh...Yuki Okushi-2/+4
2022-05-01Auto merge of #95362 - scottmcm:calloc-arrays, r=Mark-Simulacrumbors-1/+8
2022-04-29Auto merge of #96489 - shepmaster:revert-vec-from-array-ref, r=yaahcbors-42/+0
2022-04-28Add VecDeque::extend from vec::IntoIter and slice::Iter specializationsPaolo Barbolini-1/+6
2022-04-27Revert "impl From<&[T; N]> and From<&mut [T; N]> for Vec<T>"Jake Goulding-42/+0
2022-04-19Clarify docs for from_raw_partsjmaargh-2/+4
2022-04-13Speed up Vec::clear().Nicholas Nethercote-1/+12
2022-04-08add `<[[T; N]]>::flatten`, `<[[T; N]]>::flatten_mut`, and `Vec::<[T; N]>::int...Cyborus04-0/+45
2022-03-31Rollup merge of #95491 - faern:stabilize-vec_retain_mut, r=yaahcDylan DPC-3/+1
2022-03-31Rollup merge of #95298 - jhorstmann:fix-double-drop-of-allocator-in-vec-into-...Dylan DPC-7/+10
2022-03-30Stabilize feature vec_retain_mut on Vec and VecDequeLinus Färnstrand-3/+1
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-1/+1
2022-03-28Rollup merge of #95098 - shepmaster:vec-from-array-ref, r=dtolnayDylan DPC-0/+42
2022-03-28Rollup merge of #95016 - janpaul123:patch-1, r=dtolnayDylan DPC-3/+7
2022-03-28Rollup merge of #93755 - ChayimFriedman2:allow-comparing-vecs-with-different-...Dylan DPC-1/+1
2022-03-27Support arrays of zeros in Vec's __rust_alloc_zeroed optimizationScott McMurray-1/+8
2022-03-25Use ManuallyDrop::take instead of into_innerJörn Horstmann-1/+1
2022-03-25Fix double drop of allocator in IntoIter impl of VecJörn Horstmann-7/+10