about summary refs log tree commit diff
path: root/library/alloc/src/sync.rs
AgeCommit message (Expand)AuthorLines
2024-06-16Update `Arc::try_unwrap()` docslukaslueg-9/+12
2024-06-11replace version placeholderPietro Albini-3/+3
2024-06-05Rollup merge of #123168 - joshtriplett:size-of-prelude, r=AmanieuJubilee-2/+0
2024-05-20Rollup merge of #125283 - zachs18:arc-default-shared, r=dtolnayMatthias Krüger-31/+56
2024-05-20Rollup merge of #125093 - zachs18:rc-into-raw-with-allocator-only, r=Mark-Sim...Matthias Krüger-0/+67
2024-05-19Fix typo in assert messageZachary S-1/+1
2024-05-19cfg-out unused code under no_global_oom_handlingZachary S-0/+1
2024-05-19fmtZachary S-5/+6
2024-05-19Fix stacked borrows violationZachary S-1/+5
2024-05-19Use a single static for all default slice Arcs.Zachary S-29/+48
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-0/+67
2024-05-13Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the preludeJosh Triplett-2/+0
2024-05-12Use shared statics for the ArcInner for Arc<str, CStr>::default, and for Arc<...Zachary S-1/+51
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-7/+7
2024-05-10Add fn allocator method to rc/sync::Weak. Relax Rc<T>/Arc<T>::allocator to al...Zachary S-10/+18
2024-04-12Auto merge of #120092 - zetanumbers:pin_in_static_allocator, r=Amanieubors-2/+8
2024-04-07make a doctest less slow in MiriRalf Jung-1/+3
2024-03-25Require DerefPure for patternsMichael Goulet-1/+4
2024-03-19SeqCst->Relaxed in doc examples.Mara Bos-1/+1
2024-03-05Rollup merge of #121287 - zachs18:rc-into-raw-must-use, r=cuviperMatthias Krüger-1/+1
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/+1
2024-02-15Rollup merge of #120449 - udoprog:document-unsized-rc-arc-from-raw, r=m-ou-seGuillaume Gomez-13/+61
2024-01-30Rollup merge of #120445 - Nemo157:arc-plug, r=Mark-SimulacrumGuillaume Gomez-24/+20
2024-01-29Rollup merge of #120266 - steffahn:a_rc_into_inner_docs, r=Mark-SimulacrumDylan DPC-3/+7
2024-01-28Fix some `Arc` allocator leaksWim Looman-24/+20
2024-01-28Fix doctestJohn-John Tedro-2/+3
2024-01-28Replicate documentation in {Rc,Arc}::from_raw_inJohn-John Tedro-7/+32
2024-01-28Fix doctestJohn-John Tedro-2/+2
2024-01-28Tidy upJohn-John Tedro-1/+1
2024-01-28Add examples for unsized {Rc,Arc}::from_rawJohn-John Tedro-0/+14
2024-01-28Document requirements for unsized {Rc,Arc}::from_rawJohn-John Tedro-6/+14
2024-01-23Auto merge of #119433 - taiki-e:rc-uninit-ref, r=Nilstriebbors-9/+9
2024-01-23Improve documentation for [A]Rc::into_innerFrank Steffahn-3/+7
2024-01-18Add `A: 'static` bound for `Arc/Rc::pin_in`zetanumbers-2/+8
2024-01-10Fix deallocation with wrong allocator in (A)Rc::from_box_inzachs18-1/+1
2024-01-08rc,sync: Do not create references to uninitialized valuesTaiki Endo-9/+9
2024-01-03Rollup merge of #119434 - taiki-e:rc-is-dangling, r=Mark-SimulacrumLeón Orell Valerian Liehr-1/+1
2023-12-30Rollup merge of #119158 - JohnTheCoolingFan:arc-weak-clone-pretty, r=cuviperMatthias Krüger-14/+11
2023-12-30rc: Take *const T in is_danglingTaiki Endo-1/+1
2023-12-22update version placeholdersPietro Albini-1/+1
2023-12-20Cleaned up alloc::sync::Weak Clone implementationJohnTheCoolingFan-14/+11
2023-12-10Auto merge of #116949 - hamza1311:stablize-arc_unwrap_or_clone, r=dtolnaybors-2/+1
2023-12-07Auto merge of #117960 - zhiqiangxu:dry, r=workingjubileebors-5/+3
2023-12-06Don't repeat yourselfzhiqiangxu-5/+3