about summary refs log tree commit diff
path: root/library/alloc/src/boxed.rs
AgeCommit message (Expand)AuthorLines
2022-04-11impl const Default for Box<[T]> and Box<str>Josh Stone-4/+12
2022-04-08Add ThinBox type for 1 stack pointer sized heap allocated trait objectsJane Lusby-0/+5
2022-04-05trivial cfg(bootstrap) changesPietro Albini-17/+9
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-10/+18
2022-03-10Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, ...Dylan DPC-6/+6
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-6/+6
2022-03-10Revert accidental stabilizationOli Scherer-2/+1
2022-02-03Move `{core,std}::stream::Stream` to `{core,std}::async_iter::AsyncIterator`.Charles Lew-3/+3
2022-01-04Add tracking issues (`const_box`, `const_alloc_error`)woppopo-22/+22
2021-12-23Constify `Box<T, A>` methodswoppopo-24/+68
2021-12-04Rollup merge of #90851 - ibraheemdev:downcast-unchecked, r=scottmcmMatthias Krüger-28/+109
2021-12-03fix stability annotations for `Box::downcast`Ibraheem Ahmed-2/+2
2021-12-02Implement write() method for Box<MaybeUninit<T>>Martin Habovstiak-0/+36
2021-11-20fix doc links for `downcast_unchecked`Ibraheem Ahmed-0/+6
2021-11-12add tracking issue for `downcast_unchecked`Ibraheem Ahmed-3/+3
2021-11-12add unchecked downcast methodsIbraheem Ahmed-28/+103
2021-11-09document Box and box_free connectionasquared31415-0/+3
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