about summary refs log tree commit diff
path: root/library/alloc/src/sync.rs
AgeCommit message (Expand)AuthorLines
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
2022-01-20Remove unnecessary unsafe code in `Arc` deferred initialization examples.Jakob Degen-29/+21
2021-12-30use generic params for arc_new_cyclicbdbai-1/+4
2021-12-13Stabilize arc_new_cyclicbdbai-13/+31
2021-12-12doc: fix typo in commentsjapm48-1/+1
2021-11-20Rollup merge of #89741 - sdroege:arc-rc-from-inner-unsafe, r=Mark-SimulacrumMatthias Krüger-12/+14
2021-10-31Rollup merge of #90427 - jkugelman:must-use-alloc-leak, r=joshtriplettMatthias Krüger-0/+1
2021-10-30Add #[must_use] to alloc functions that would leak memoryJohn Kugelman-0/+1
2021-10-25remove requirement of T: Debug from Weak<T>Violet-1/+1
2021-10-15Add #[must_use] to remaining alloc functionsJohn Kugelman-2/+8
2021-10-12Rollup merge of #89796 - jkugelman:must-use-non-mutating-verb-methods, r=josh...the8472-1/+5
2021-10-12Rollup merge of #89778 - jkugelman:must-use-as_type-conversions, r=joshtriplettthe8472-0/+2
2021-10-11Add #[must_use] to non-mutating verb methodsJohn Kugelman-1/+5
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+2
2021-10-11Rollup merge of #89726 - jkugelman:must-use-alloc-constructors, r=joshtriplettGuillaume Gomez-0/+6
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-0/+3
2021-10-10Mark `Arc::from_inner` / `Rc::from_inner` as unsafeSebastian Dröge-12/+14
2021-10-10Add #[must_use] to alloc constructorsJohn Kugelman-0/+6
2021-09-25Apply 16 commits (squashed)Frank Steffahn-12/+12
2021-08-24Make explanations of cross-references between `make_mut` and `get_mut` more a...Frank Steffahn-2/+3
2021-08-24Clarifiy weak pointers being diassociated…Frank Steffahn-2/+3
2021-08-19Adjust documentation of `Arc::make_mut`Frank Steffahn-9/+25