about summary refs log tree commit diff
path: root/library/alloc/src/rc.rs
AgeCommit message (Expand)AuthorLines
2024-10-13rename rcbox in other places as per review commentsJonathan Dönszelmann-14/+14
2024-10-11rename RcBox to RcInner for consistencyJonathan Dönszelmann-67/+71
2024-09-25Use `&raw` in the standard libraryJosh Stone-15/+11
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-17Rollup merge of #129674 - matthewpipie:rc-arc-new-cyclic-in, r=dtolnayMatthias Krüger-36/+79
2024-09-06Remove duplicate implMatthew Giordano-38/+3
2024-09-06remove the Clone requirementMatthew Giordano-80/+78
2024-09-03replace placeholder versionBoxy-4/+4
2024-08-29improve commentsMatthew Giordano-1/+2
2024-08-29fix new_cyclic_in for rcMatthew Giordano-48/+79
2024-08-29fix fmtMatthew Giordano-10/+2
2024-08-27add new_cyclic_in for rcMatthew Giordano-2/+58
2024-08-27library: Stabilize new_uninit for Box, Rc, and ArcJubilee Young-18/+8
2024-08-23library: Move unstable API of new_uninit to new featuresJubilee Young-2/+4
2024-08-07Rollup merge of #125048 - dingxiangfei2009:stable-deref, r=amanieuMatthias Krüger-0/+10
2024-08-03Rollup merge of #127586 - zachs18:more-must-use, r=cuviperMatthias Krüger-0/+2
2024-07-31PinCoerceUnsized trait into coreXiangfei Ding-0/+10
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+5
2024-07-26Fix doc nitsJohn Arundel-11/+11
2024-07-15lib: replace some `mem::forget`'s with `ManuallyDrop`Pavel Grigorenko-25/+22
2024-07-13Rollup merge of #127446 - zachs18:miri-stdlib-leaks-core-alloc, r=Mark-Simula...Jubilee-0/+6
2024-07-12Rollup merge of #124980 - zachs18:rc-allocator, r=AmanieuMatthias Krüger-10/+18
2024-07-10Clarify/add `must_use` messages for more `into_raw*` functions of `alloc` types.Zachary S-0/+2
2024-07-06Remove non-focused memory leaks in `alloc` doctests for Miri.Zachary S-0/+6
2024-06-22Generalize `{Rc,Arc}::make_mut()` to unsized types.Kevin Reid-13/+99
2024-06-22Replace `WriteCloneIntoRaw` with `CloneToUninit`.Kevin Reid-3/+3
2024-06-14Rollup merge of #126285 - kpreid:unique-rc, r=dtolnayMatthias Krüger-30/+65
2024-06-11`UniqueRc`: support allocators and `T: ?Sized`.Kevin Reid-30/+65
2024-06-11replace version placeholderPietro Albini-2/+2
2024-06-05Rollup merge of #123168 - joshtriplett:size-of-prelude, r=AmanieuJubilee-2/+0
2024-05-20Rollup merge of #125093 - zachs18:rc-into-raw-with-allocator-only, r=Mark-Sim...Matthias Krüger-10/+40
2024-05-16Access alloc field directly in Arc/Rc::into_raw_with_allocator.Zachary S-2/+2
2024-05-13Add fn into_raw_with_allocator to Rc/Arc/Weak.Zachary S-10/+40
2024-05-13Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the preludeJosh Triplett-2/+0
2024-05-12Add note about possible allocation-sharing to Arc/Rc<str/[T]/CStr>::default.Zachary S-0/+4
2024-05-12added Default implsBilly Sheppard-0/+21
2024-05-10Relax A: Clone requirement on Rc/Arc::unwrap_or_clone.Zachary S-0/+2
2024-05-10Relax allocator requirements on some Rc APIs.Zachary S-25/+22
2024-05-10Add fn allocator method to rc/sync::Weak. Relax Rc<T>/Arc<T>::allocator to al...Zachary S-10/+18
2024-04-27Relax `A: Clone` bound for `rc::Weak::into_raw_and_alloc`Daria Sukhonina-7/+4
2024-04-12Auto merge of #120092 - zetanumbers:pin_in_static_allocator, r=Amanieubors-1/+4
2024-03-25Require DerefPure for patternsMichael Goulet-1/+4
2024-03-05Rollup merge of #121287 - zachs18:rc-into-raw-must-use, r=cuviperMatthias Krüger-1/+2
2024-03-05Rollup merge of #121213 - Takashiidobe:takashi/example-for-rc-into-inner, r=c...Matthias Krüger-0/+15
2024-02-24library: use `addr_of!`Pavel Grigorenko-2/+2
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-2/+6
2024-02-18Clarify/add `must_use` message for Rc/Arc/Weak::into_raw.Zachary S-1/+2
2024-02-16Add an example to demonstrate how Rc::into_inner worksTakashiidobe-0/+15
2024-02-15Rollup merge of #120449 - udoprog:document-unsized-rc-arc-from-raw, r=m-ou-seGuillaume Gomez-13/+61
2024-01-29Rollup merge of #120266 - steffahn:a_rc_into_inner_docs, r=Mark-SimulacrumDylan DPC-2/+5