about summary refs log tree commit diff
path: root/library/alloc/src/boxed.rs
AgeCommit message (Expand)AuthorLines
2021-10-10Add #[must_use] to alloc constructorsJohn Kugelman-0/+12
2021-10-09Remove unnecessary hyphenTim McNamara-1/+1
2021-10-09Simplify wordingTim McNamara-4/+4
2021-10-08Add documentation to boxed conversionsTim McNamara-0/+41
2021-09-17Fix missing `no_global_oom_handling` cfg-gatingGary Guo-0/+2
2021-08-05add Box::try_new_uninit_slice for symmetryThe8472-0/+33
2021-08-05remove cfg gate on `use RawVec` since it is now also used in fallible codeThe8472-1/+0
2021-08-05add Box::try_new_zeroed_slice()The8472-0/+32
2021-06-30Remove alloc/malloc/calloc/realloc doc aliasesAmanieu d'Antras-3/+0
2021-06-12Remove "generic type" in boxed.rsDeadbeef-1/+1
2021-05-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-2/+33
2021-05-02Change 'NULL' to 'null'Brent Kerby-1/+1
2021-04-10fix incorrect from_raw_in doctestRalf Jung-1/+1
2021-02-12Remove unnecessary lint allow attrs on exampleMikail Bagishov-2/+0
2021-02-10Rollup merge of #80438 - crlf0710:box_into_inner, r=m-ou-seYuki Okushi-0/+17
2021-02-09Add `Box::into_inner`.Charles Lew-0/+17
2021-02-06Prefer match intead of combinators to make some Box function inlineableLzu Tao-2/+12
2021-01-31Rollup merge of #80945 - sdroege:downcast-send-sync, r=m-ou-seJonas Schievink-0/+33
2021-01-30Rollup merge of #79023 - yoshuawuyts:stream, r=KodrAusYuki Okushi-0/+14
2021-01-22Add doc aliases for memory allocationsYoshua Wuyts-2/+5
2021-01-22Add `core::stream::Stream`Yoshua Wuyts-0/+14
2021-01-12move WriteCloneIntoRaw into alloc::allocJosh Stone-23/+1
2021-01-12Add Box::downcast() for dyn Any + Send + SyncSebastian Dröge-0/+33
2021-01-11Specialize Box clones to try to avoid localsJosh Stone-2/+28
2021-01-02Auto merge of #77832 - camelid:remove-manual-link-resolves, r=jyn514bors-2/+0
2020-12-31Remove many unnecessary manual link resolves from libraryCamelid-2/+0
2020-12-31More inline, doc fixesManish Goregaokar-1/+2
2020-12-31Reuse Box::try_new_*_in() in Box::new_*_in()Manish Goregaokar-5/+2
2020-12-31Add fallible box APIs (`Box::try_new_*`)Manish Goregaokar-1/+73
2020-12-31Add fallible box allocator APIs (`Box::try_new_*_in()`)Manish Goregaokar-1/+85
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-66/+67
2020-11-28Require allocator to be static for boxed `Pin`-APITim Diekmann-7/+25
2020-11-21Auto merge of #78461 - TimDiekmann:vec-alloc, r=Amanieubors-2/+3
2020-11-21Rollup merge of #77844 - RalfJung:zst-box, r=nikomatsakisDylan DPC-0/+11
2020-11-20reference NonNull::danglingRalf Jung-4/+6
2020-11-18Add support for custom allocators in `Vec`Tim Diekmann-2/+3
2020-10-27fix Box::into_uniqueRalf Jung-7/+2
2020-10-23Rename `Box::alloc` to `Box::alloc_ref`Tim Diekmann-2/+2
2020-10-16Merge branch 'master' into box-allocTim Diekmann-1/+1
2020-10-15Fix typo in documentationstrct-1/+1
2020-10-13explicitly talk about integer literalsRalf Jung-3/+3
2020-10-12clarify rules for ZST BoxesRalf Jung-0/+9
2020-10-07Support custom allocators in `Box`Tim Diekmann-110/+380
2020-09-01Use intra-doc links for `MaybeUninit` in `boxed.rs`Joshua Nelson-4/+4
2020-08-22Auto merge of #75171 - amosonn:new_zeroed_slice, r=Amanieubors-0/+23
2020-08-21Use intra-doc-links in `alloc`LeSeulArtichaut-16/+10
2020-08-05Add {Box,Rc,Arc}::new_zeroed_sliceAmos Onn-0/+23
2020-08-04Replace `Memoryblock` with `NonNull<[u8]>`Tim Diekmann-3/+1
2020-08-03Merge branch 'master' into remove-in-place-allocTim Diekmann-45/+1
2020-07-29Remove deprecated unstable `{Box,Rc,Arc}::into_raw_non_null` functionsSimon Sapin-45/+1