about summary refs log tree commit diff
path: root/library/alloc/src/rc.rs
AgeCommit message (Expand)AuthorLines
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-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
2021-01-06Re-stabilize Weak::as_ptr &friends for unsized TCAD97-18/+23
2021-01-03Fix missing link for "fully qualified syntax"Jeremy Lin-0/+1
2021-01-01Auto merge of #80310 - Manishearth:box-try-alloc, r=kennytmbors-2/+114
2020-12-31Make [A]Rc::allocate_for_layout() use try_allocate_for_layout()Manish Goregaokar-12/+3
2020-12-31Add fallible Rc APIs (`Rc::try_new_*`)Manish Goregaokar-22/+121
2020-12-31Add fallible box APIs (`Box::try_new_*`)Manish Goregaokar-0/+22
2020-12-29Do not create dangling &T in Weak<T>::dropCAD97-1/+1
2020-12-28de-stabilize unsized raw ptr methods for WeakRalf Jung-1/+3
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-9/+9
2020-10-28Don't say you "should" use fully qualified syntaxCamelid-5/+8
2020-10-28Fix broken intra-doc linkCamelid-1/+1