summary refs log tree commit diff
path: root/library/alloc/src/rc.rs
AgeCommit message (Expand)AuthorLines
2021-11-20Rollup merge of #89741 - sdroege:arc-rc-from-inner-unsafe, r=Mark-SimulacrumMatthias Krüger-20/+31
2021-11-08Add comments regarding superfluous `!Sync` implsbstrie-0/+6
2021-11-02Implement `RefUnwindSafe` for `Rc<T>`inquisitivecrystal-0/+2
2021-10-31Rollup merge of #89833 - jkugelman:must-use-rc-downgrade, r=joshtriplettMatthias Krüger-1/+3
2021-10-15Add #[must_use] to remaining alloc functionsJohn Kugelman-0/+3
2021-10-12Add #[must_use] to Rc::downgradeJohn Kugelman-1/+3
2021-10-12Rollup merge of #89796 - jkugelman:must-use-non-mutating-verb-methods, r=josh...the8472-0/+2
2021-10-12Rollup merge of #89778 - jkugelman:must-use-as_type-conversions, r=joshtriplettthe8472-0/+1
2021-10-11Add #[must_use] to non-mutating verb methodsJohn Kugelman-0/+2
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+1
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/+1
2021-10-10Mark `Arc::from_inner` / `Rc::from_inner` as unsafeSebastian Dröge-20/+31
2021-10-10Add #[must_use] to alloc constructorsJohn Kugelman-0/+6
2021-09-26Auto merge of #89144 - sexxi-goose:insig_stdlib, r=nikomatsakisbors-0/+1
2021-09-25Apply 16 commits (squashed)Frank Steffahn-12/+4
2021-09-22PR fixupAman Arora-1/+1
2021-09-212229: Annotate stdlib with insignficant dtorsAman Arora-0/+1
2021-08-25Rollup merge of #88226 - steffahn:an_rc, r=michaelwoeristerLéo Lanteri Thauvin-1/+1
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-24Fix typo “a Rc” → “an Rc”Frank Steffahn-1/+1
2021-08-19Adjust documentation of `Arc::make_mut`Frank Steffahn-5/+5
2021-07-31Relocate Arc and Rc UnwindSafe implsDavid Tolnay-0/+4
2021-07-29Fix may not to appropriate might not or must notAli Malik-1/+1
2021-07-02alloc: `no_global_oom_handling`: disable `new()`s, `pin()`s, etc.Miguel Ojeda-0/+6
2021-05-26Rollup merge of #85666 - fee1-dead:document-shared-from-cow, r=dtolnayYuki Okushi-0/+12
2021-05-25Document shared_from_cow functionsDeadbeef-0/+12
2021-05-20Weak's type parameter may dangle on dropDavid Tolnay-1/+1
2021-05-10Document Rc::fromDeadbeef-0/+13
2021-05-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-4/+34
2021-04-15Correct outdated rc::Weak::default documentationMarRue-2/+2
2021-04-07Rollup merge of #83476 - mystor:rc_mutate_strong_count, r=m-ou-seDylan DPC-0/+67
2021-03-31panic early when TrustedLen indicates a length > usize::MAXThe8472-2/+5
2021-03-25Add strong_count mutation methods to RcNika Layzell-0/+67
2021-02-12Add docs for shared_from_slice From implsMichael Howell-0/+49
2021-01-29rename raw_const/mut -> const/mut_addr_of, and stabilize themRalf Jung-3/+3
2021-01-16Rollup merge of #81069 - ogoffart:rc_new_cyclic_doc, r=Mark-SimulacrumMara Bos-0/+20
2021-01-16Rollup merge of #80764 - CAD97:weak-unsized-as-ptr-again, r=RalfJungMara Bos-49/+36
2021-01-16Add sample code for Rc::new_cyclicOlivier Goffart-0/+20
2021-01-13Apply suggestions from code reviewChristopher Durham-1/+1
2021-01-12move WriteCloneIntoRaw into alloc::allocJosh Stone-2/+3
2021-01-11Move directly when Rc/Arc::make_mut splits from WeakJosh Stone-5/+7
2021-01-11Specialize Rc/Arc::make_mut clones to try to avoid localsJosh Stone-2/+9
2021-01-10Weak::into_raw shouldn't translate sentinel valueCAD97-15/+12
2021-01-09Provide reasoning for rc data_offset safetyCAD97-4/+6
2021-01-07Replace set_data_ptr with pointer::set_ptr_valueCAD97-16/+3
2021-01-07Reclarify Weak<->raw pointer safety commentsCAD97-2/+2
2021-01-07Remove "pointer describes" terminologyCAD97-5/+4
2021-01-07Tighten/clarify documentation of rc data_offsetCAD97-5/+2