about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
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-16Parametrize a few more thingsyanchith-16/+19
2022-07-16Mark lifetimes explicitlyyanchith-10/+10
2022-07-16Parametrize BinaryHeap with Allocatoryanchith-45/+111
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
2022-06-27liballoc tests: avoid int2ptr castRalf Jung-1/+1
2022-06-24Rollup merge of #98039 - tnballo:master, r=thomccYuki Okushi-13/+117
2022-06-23Fix BTreeSet's range API panic message, documenttnballo-13/+117
2022-06-23Rollup merge of #98364 - RalfJung:arc-clone, r=Mark-SimulacrumMichael Goulet-8/+9
2022-06-23Rollup merge of #96173 - jmaargh:jmaargh/with-capacity-doc-fix, r=Dylan-DPCMichael Goulet-93/+138
2022-06-21clarify Arc::clone overflow check commentRalf Jung-8/+9
2022-06-21remove use of &Alloc in btree testsRalf Jung-6/+6
2022-06-20Rollup merge of #96609 - ibraheemdev:arc-downcast-unchecked, r=m-ou-seDylan DPC-5/+80
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-93/+138
2022-06-19Rollup merge of #98233 - RalfJung:ref-alloc, r=thomccDylan DPC-6/+6
2022-06-18make btree not use &A: Allocator instanceRalf Jung-6/+6
2022-06-18Auto merge of #98004 - paolobarbolini:vecdeque-extend-trustedlen, r=the8472bors-0/+208