about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
2022-08-20Rollup merge of #99544 - dylni:expose-utf8lossy, r=Mark-SimulacrumMatthias Krüger-8/+11
2022-08-20Expose `Utf8Lossy` as `Utf8Chunks`dylni-8/+11
2022-08-18clarify lib.rs attribute structureRalf Jung-5/+4
2022-08-18add some Miri-only testsRalf Jung-0/+19
2022-08-18add miri-test-libstd support to libstdRalf Jung-0/+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-12Adjust cfgsMark Rousskov-3/+3
2022-08-10Guarantee `try_reserve` preserves the contents on errorYOSHIOKA Takuma-4/+8
2022-07-27Auto merge of #98553 - the8472:next_chunk_opt, r=Mark-Simulacrumbors-2/+75
2022-07-26add test for vec::IntoIter::next_chunk() implThe 8472-0/+11
2022-07-26Auto merge of #99574 - durin42:allocator-patch-redux, r=nikicbors-1/+4
2022-07-26Optimized vec::IntoIter::next_chunk implThe 8472-2/+64
2022-07-26codegen: use new {re,de,}allocator annotations in llvmAugie Fackler-1/+4
2022-07-26Rollup merge of #98710 - mojave2:string, r=JohnTitorYuki Okushi-5/+5
2022-07-24Support vec zero-alloc optimization for tuples and byte arraysAngelicosPhosphoros-17/+46
2022-07-22Remove redundant lifetime bound from `impl Borrow for Cow`Frank Steffahn-1/+0
2022-07-21Box::from(slice): Clarify that contents are copiedAlan Wu-1/+1
2022-07-21Rollup merge of #99413 - steffahn:btree_dropck, r=m-ou-seMatthias Krüger-4/+26
2022-07-18Rollup merge of #99198 - RalfJung:alloc-null-ptr, r=JohnTitorDylan DPC-1/+4
2022-07-18Add `PhantomData` marker for dropck to `BTreeMap`Frank Steffahn-4/+26
2022-07-17Add tests that check `Vec::retain` predicate execution order.AngelicosPhosphoros-0/+45
2022-07-16Rollup merge of #99317 - yanchith:borrow-vec-ta-as-slice-t, r=Mark-SimulacrumMatthias Krüger-2/+2
2022-07-16Borrow Vec<T, A> as [T]yanchith-2/+2
2022-07-16Rollup merge of #99277 - joshtriplett:stabilize-core-cstr-alloc-cstring, r=Ma...Yuki Okushi-10/+7
2022-07-16Rollup merge of #99270 - rhysd:issue-99269, r=Mark-SimulacrumYuki Okushi-0/+1
2022-07-15Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friendsJosh Triplett-10/+7
2022-07-15add `#[must_use]` to `Box::from_raw`rhysd-0/+1
2022-07-15Rollup merge of #99113 - WaffleLapkin:arc_simplify, r=Mark-SimulacrumDylan DPC-12/+11
2022-07-14add missing null ptr check in alloc exampleRalf Jung-1/+4
2022-07-14add code examplesDuarte Nunes-1/+50
2022-07-14Rollup merge of #98315 - joshtriplett:stabilize-core-ffi-c, r=Mark-SimulacrumDylan DPC-2/+0
2022-07-13Stabilize `core::ffi:c_*` and rexport in `std::ffi`Josh Triplett-2/+0
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-10Use `byte_sub` in [a]rc implMaybe Waffle-12/+11
2022-07-10Auto merge of #95295 - CAD97:layout-isize, r=scottmcmbors-311/+142
2022-07-08Intra-doc-link-ify reference to Clone::clone_fromest31-1/+1
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-42/+6
2022-07-01Rollup merge of #98585 - cuviper:covariant-thinbox, r=thomccDylan DPC-6/+34
2022-07-01update cfg(bootstrap)sPietro Albini-42/+6
2022-07-01Optimize `Vec::insert` for the case where `index == len`.Nicholas Nethercote-6/+9
2022-06-30correct the output of a `capacity` method examplemojave2-5/+5
2022-06-29alloc: fix `no_global_oom_handling` warningsMiguel Ojeda-3/+8
2022-06-28Rollup merge of #98595 - cuviper:send-sync-thinbox, r=m-ou-seDylan DPC-0/+8
2022-06-27Implement `Send` and `Sync` for `ThinBox<T>`Josh Stone-0/+8
2022-06-27Make `ThinBox<T>` covariant in `T`Josh Stone-6/+34