about summary refs log tree commit diff
path: root/library/alloc/src/sync.rs
AgeCommit message (Expand)AuthorLines
2024-10-22Rename Receiver -> LegacyReceiverAdrian Taylor-3/+3
2024-10-22refactor `Arc<T>::default`Slanterns-7/+10
2024-10-16Auto merge of #131460 - jwong101:default-placement-new, r=ibraheemdevbors-1/+7
2024-10-11rename RcBox in other places tooJonathan Dönszelmann-4/+4
2024-10-10allocate before calling T::default in <Arc<T>>::default()Joshua Wong-1/+7
2024-09-27Mark some more smart pointers as insignificantMichael Goulet-0/+1
2024-09-25Use `&raw` in the standard libraryJosh Stone-11/+11
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-17Rollup merge of #129674 - matthewpipie:rc-arc-new-cyclic-in, r=dtolnayMatthias Krüger-48/+93
2024-09-16Update library/alloc/src/sync.rsmatthewpipie-1/+1
2024-09-06Remove duplicate implMatthew Giordano-50/+3
2024-09-06remove the Clone requirementMatthew Giordano-93/+92
2024-09-03replace placeholder versionBoxy-4/+4
2024-08-29add new_cyclic_in for ArcMatthew Giordano-0/+93
2024-08-28Rollup merge of #129673 - matthewpipie:arc-weak-debug-trait, r=dtolnayJubilee-1/+1
2024-08-27Add fmt::Debug to sync::Weak<T, A>Matthew Giordano-1/+1
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-4/+6
2024-07-31PinCoerceUnsized trait into coreXiangfei Ding-1/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+1
2024-07-26Fix doc nitsJohn Arundel-12/+12
2024-07-15lib: replace some `mem::forget`'s with `ManuallyDrop`Pavel Grigorenko-20/+16
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-06Remove non-focused memory leaks in `alloc` doctests for Miri.Zachary S-0/+6
2024-07-05Run alloc sync testsChris Denton-6/+2
2024-06-22Generalize `{Rc,Arc}::make_mut()` to unsized types.Kevin Reid-13/+94
2024-06-22Replace `WriteCloneIntoRaw` with `CloneToUninit`.Kevin Reid-3/+3
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