about summary refs log tree commit diff
path: root/library/alloc/src/sync.rs
AgeCommit message (Expand)AuthorLines
2023-03-23Stabilize `arc_into_inner` and `rc_into_inner`.Frank Steffahn-20/+3
2023-03-15unequal → not equalgimbles-2/+2
2023-03-11Rollup merge of #108708 - noamtashma:issue-108706-fix, r=m-ou-seMatthias Krüger-3/+17
2023-03-06issue-108706-fixNoam Ta Shma-3/+17
2023-03-03Match unmatched backticks in library/est31-1/+1
2023-01-29fix typo in {Rc, Arc}::get_mut_unchecked docsy21-1/+1
2023-01-23Rollup merge of #106854 - steffahn:drop_linear_arc_rebased, r=Mark-SimulacrumDylan DPC-0/+145
2023-01-22Add Arc::into_inner for safely discarding Arcs without calling the destructor...Frank Steffahn-0/+145
2023-01-14Remove various double spaces in source comments.André Vennberg-4/+4
2023-01-08Auto merge of #90291 - geeklint:loosen_weak_debug_bound, r=dtolnaybors-1/+1
2022-12-19Update coerce_unsized tracking issue from #27732 to #18598Anders Kaseorg-2/+2
2022-11-20Rollup merge of #101310 - zachs18:rc_get_unchecked_mut_docs_soundness, r=Mark...Matthias Krüger-4/+37
2022-11-18Change undefined-behavior doctests from ignore to no_run.Zachary S-2/+2
2022-11-18Apply suggestions from code review zachs18-1/+1
2022-11-18Add examples to show when `{Arc,Rc}::get_mut_unchecked` is disallowed.Zachary S-0/+32
2022-11-18Clarify and restrict when `{Arc,Rc}::get_mut_unchecked` is allowed.Zachary S-4/+5
2022-11-18Remove Vec/Rc storage reuse optclubby789-54/+6
2022-11-14Add `Vec` storage optimization to `Arc` and add testsclubby789-19/+66
2022-10-26ptr::eq: clarify that comparing dyn Trait is fragileRalf Jung-5/+5
2022-10-21Reduce mutability in std-use of with_metadata_ofAndreas Molzer-1/+1
2022-10-03Rollup merge of #98218 - kpreid:nostdarc, r=joshtriplettMatthias Krüger-0/+9
2022-10-02Rollup merge of #102098 - xfix:weak-upgrade-fetch-update, r=Mark-SimulacrumDylan DPC-23/+16
2022-09-26remove cfg(bootstrap)Pietro Albini-1/+0
2022-09-21Use fetch_update in sync::Weak::upgradeKonrad Borowski-23/+16
2022-08-22Move error trait into coreJane Losare-Lusby-0/+22
2022-07-10Use `byte_sub` in [a]rc implMaybe Waffle-6/+5
2022-06-21clarify Arc::clone overflow check commentRalf Jung-8/+9
2022-06-20Rollup merge of #96609 - ibraheemdev:arc-downcast-unchecked, r=m-ou-seDylan DPC-3/+42
2022-06-17Document the conditional existence of `alloc::sync` and `alloc::task`.Kevin Reid-0/+9
2022-06-01Update sync.rsDylan DPC-1/+1
2022-06-01Update sync.rsDylan DPC-3/+3
2022-06-01Spelling correction.Ximon Eighteen-1/+1
2022-05-29Use Box::new() instead of box syntax in alloc testsest31-4/+4
2022-05-06Auto merge of #95183 - ibraheemdev:arc-count-acquire, r=Amanieubors-6/+6
2022-05-05Rollup merge of #95843 - GuillaumeGomez:improve-new-cyclic-doc, r=m-ou-seMatthias Krüger-9/+22
2022-05-04Improve Rc::new_cyclic and Arc::new_cyclic documentationGuillaume Gomez-9/+22
2022-05-01add `{Arc, Rc}::downcast_unchecked`Ibraheem Ahmed-3/+42
2022-04-30Bump shared_from_str to Rust 1.62.0David Tolnay-1/+1
2022-04-15Implement str to [u8] conversion for refcounted containersJohn-John Tedro-0/+19
2022-04-07hide an #[allow] directive from the Arc::new_cyclic doc exampleJack O'Connor-1/+1
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-1/+1
2022-03-28Auto merge of #95249 - HeroicKatora:set-ptr-value, r=dtolnaybors-3/+4
2022-03-23Refactor set_ptr_value as with_metadata_ofAndreas Molzer-3/+4
2022-03-21weaken needlessly restrictive orderings on `Arc::*_count`Ibraheem Ahmed-6/+6
2022-03-18Make Weak::new constCAD97-2/+3
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
2022-02-03Add tracking issue and impl for `Rc`.Richard Dodd-1/+1
2022-02-03impl `Arc::unwrap_or_clone`Richard Dodd-0/+35
2022-01-23Rollup merge of #90666 - bdbai:arc_new_cyclic, r=m-ou-seMatthias Krüger-14/+35
2022-01-22Update stabilization version of arc_new_cyclicMara Bos-1/+1