summary refs log tree commit diff
path: root/library/alloc/src/vec
AgeCommit message (Expand)AuthorLines
2022-10-09Auto merge of #89123 - the8472:push_in_capacity, r=amanieubors-0/+45
2022-10-04Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472Dylan DPC-6/+32
2022-10-03Rollup merge of #99216 - duarten:master, r=joshtriplettMatthias Krüger-8/+73
2022-10-03Clarify documentationGiacomo Stevanato-4/+3
2022-10-02Do the `calloc` optimization for `Option<bool>`Scott McMurray-0/+22
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-15/+15
2022-09-10Update documentationGiacomo Stevanato-3/+11
2022-09-10Fix leaking in inplace collection when destructor panicsGiacomo Stevanato-3/+22
2022-09-02implement IsZero for Saturating and Wrappingasquared31415-0/+16
2022-09-01Auto merge of #100707 - dzvon:fix-typo, r=davidtwcobors-2/+2
2022-08-31fix into_iter on ZSTRalf Jung-1/+1
2022-08-31Fix a bunch of typoDezhi Wu-2/+2
2022-08-30Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnayDylan DPC-3/+130
2022-08-28fill-in tracking issue for `feature(drain_keep_rest)`Maybe Waffle-2/+2
2022-08-28add examples to `vec::Drain{,Filter}::keep_rest` docsMaybe Waffle-0/+37
2022-08-23Make use of `[wrapping_]byte_{add,sub}`Maybe Waffle-10/+7
2022-08-22Rollup merge of #100872 - JanBeh:PR_vec_default_alloc_doc, r=fee1-deadDylan DPC-0/+2
2022-08-22Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcmDylan DPC-1/+1
2022-08-22Rollup merge of #100331 - lo48576:try-reserve-preserve-on-failure, r=thomccDylan DPC-1/+2
2022-08-22Add guarantee that Vec::default() does not allocJan Behrens-0/+2
2022-08-21Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger-8/+8
2022-08-21Make some docs nicer wrt pointer offsetsMaybe Waffle-4/+4
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-8/+8
2022-08-21Remove useless pointer castMaybe Waffle-1/+1
2022-08-13address review comments, add tracking issueThe 8472-7/+8
2022-08-13add Vec::push_within_capacity - fallible, does not allocateThe8472-0/+44
2022-08-10Guarantee `try_reserve` preserves the contents on errorYOSHIOKA Takuma-1/+2
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