about summary refs log tree commit diff
path: root/library/alloc
AgeCommit message (Expand)AuthorLines
2024-03-01try_with_capacity for RawVecKornel-18/+25
2024-03-01remove hidden use of GlobalAlexander-1/+1
2024-02-29Rollup merge of #120291 - pitaj:string-sliceindex, r=AmanieuJacob Pratt-88/+15
2024-02-27have `String` use `SliceIndex` impls from `str`Peter Jaszkowiak-88/+15
2024-02-26Generate original vtable and clone's vtable in the same CGUDavid Tolnay-0/+13
2024-02-26Document args returned from `String::into_raw_parts`许杰友 Jieyou Xu (Joe)-1/+1
2024-02-26Document args returned from `Vec::into_raw_parts{,_with_alloc}`许杰友 Jieyou Xu (Joe)-2/+2
2024-02-26Rearrange `String::from_raw_parts` doc argument order to match code argument ...许杰友 Jieyou Xu (Joe)-1/+1
2024-02-26Rearrange `Vec::from_raw_parts{,_in}` doc argument order to match code argume...许杰友 Jieyou Xu (Joe)-2/+2
2024-02-25Add Waker::will_wake testsDavid Tolnay-0/+36
2024-02-25Make push docs more vagueJacob Asper-4/+3
2024-02-24Rollup merge of #121556 - GrigorenkoPV:addr_of, r=NilstriebMatthias Krüger-5/+5
2024-02-24Forbid use of `extern "C-unwind"` inside standard libraryGary Guo-0/+1
2024-02-24library: use `addr_of!`Pavel Grigorenko-5/+5
2024-02-23Auto merge of #121514 - matthiaskrgr:rollup-5f0vhv7, r=matthiaskrgrbors-6/+6
2024-02-23Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnaybors-41/+28
2024-02-23remove repetitive wordscui fliter-6/+6
2024-02-22On type error of method call arguments, look at confusables for suggestionEsteban Küber-0/+1
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+34
2024-02-22Use generic `NonZero` everywhere in `alloc`.Markus Reiter-41/+28
2024-02-22Add std::ffi::c_str modulesltdk-3/+9
2024-02-22Auto merge of #118634 - Jules-Bertholet:box-allocator-static, r=Amanieubors-9/+3
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-12/+20
2024-02-18Clarify/add `must_use` message for Rc/Arc/Weak::into_raw.Zachary S-2/+3
2024-02-18Fix error in push docsJacob Asper-4/+5
2024-02-18Rollup merge of #121224 - hi-rustin:rustin-patch-unit-binding, r=Mark-SimulacrumMatthias Krüger-2/+2
2024-02-18fix typo in push documentationJacob Asper-1/+1
2024-02-18intradoc link for vecJacob Asper-1/+1
2024-02-18time complexity for insertJacob Asper-0/+6
2024-02-18time complexity for popJacob Asper-0/+4
2024-02-18time complexity for push_within_capacityJacob Asper-0/+4
2024-02-18time complexity for pushJacob Asper-0/+7
2024-02-18Auto merge of #118264 - lukas-code:optimized-draining, r=the8472bors-56/+114
2024-02-17Rollup merge of #121149 - SebastianJL:patch-1, r=Mark-SimulacrumMatthias Krüger-4/+4
2024-02-17Remove unnecessary unit bindinghi-rustin-2/+2
2024-02-16Add an example to demonstrate how Rc::into_inner worksTakashiidobe-0/+15
2024-02-16Don't use mem::zeroed in vec::IntoIterBen Kimock-34/+29
2024-02-16address review commentsLukas Markeffsky-44/+99
2024-02-16outline large copiesLukas Markeffsky-7/+20
2024-02-16reduce branchinessLukas Markeffsky-31/+22
2024-02-16reduce amount of mathLukas Markeffsky-14/+12
2024-02-16simplify codegen for trivially droppable typesLukas Markeffsky-2/+3
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-33/+35
2024-02-15Fix typo in VecDeque::handle_capacity_increase() doc comment.Johannes Lade-4/+4
2024-02-15Add slice::try_rangeltdk-2/+2
2024-02-15Rollup merge of #120505 - Amanieu:fix-btreemap-cursor-remove, r=m-ou-seGuillaume Gomez-0/+12
2024-02-15Rollup merge of #120449 - udoprog:document-unsized-rc-arc-from-raw, r=m-ou-seGuillaume Gomez-26/+122
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-14/+14
2024-02-15Use generic `NonZero` internally.Markus Reiter-33/+35
2024-02-14Rollup merge of #116387 - kpreid:wake-doc, r=cuviperOli Scherer-3/+10