about summary refs log tree commit diff
path: root/library/alloc/src/sync.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/+3
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
2021-07-31Relocate Arc and Rc UnwindSafe implsDavid Tolnay-0/+4
2021-07-29Fix may not to appropriate might not or must notAli Malik-3/+3
2021-07-15Added Arc::try_pinAlex Gaynor-1/+7
2021-07-02alloc: `no_global_oom_handling`: disable `new()`s, `pin()`s, etc.Miguel Ojeda-0/+6
2021-06-17Rollup merge of #85663 - fee1-dead:document-arc-from, r=m-ou-seYuki Okushi-0/+14
2021-06-05Document Arc::fromDeadbeef-0/+14
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-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-4/+34
2021-03-31panic early when TrustedLen indicates a length > usize::MAXThe8472-2/+5
2021-02-12Add docs for shared_from_slice From implsMichael Howell-0/+49
2021-01-31Rollup merge of #79285 - yoshuawuyts:stabilize-arc_mutate_strong_count, r=m-o...Jonas Schievink-11/+7
2021-01-30Bump stable version of arc_mutate_strong_countMara Bos-2/+2
2021-01-29rename raw_const/mut -> const/mut_addr_of, and stabilize themRalf Jung-3/+3
2021-01-16Rollup merge of #80764 - CAD97:weak-unsized-as-ptr-again, r=RalfJungMara Bos-46/+34
2021-01-13Apply suggestions from code reviewChristopher Durham-1/+1
2021-01-12move WriteCloneIntoRaw into alloc::allocJosh Stone-2/+4
2021-01-11Move directly when Rc/Arc::make_mut splits from WeakJosh Stone-9/+6
2021-01-11Specialize Rc/Arc::make_mut clones to try to avoid localsJosh Stone-3/+9
2021-01-10Weak::into_raw shouldn't translate sentinel valueCAD97-12/+9
2021-01-09Provide reasoning for rc data_offset safetyCAD97-4/+6
2021-01-07Replace set_data_ptr with pointer::set_ptr_valueCAD97-16/+2
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-17/+24
2021-01-01Auto merge of #80310 - Manishearth:box-try-alloc, r=kennytmbors-2/+115
2020-12-31More inline, doc fixesManish Goregaokar-1/+1
2020-12-31Make [A]Rc::allocate_for_layout() use try_allocate_for_layout()Manish Goregaokar-11/+2
2020-12-31Add fallible Arc APIs (`Arc::try_new_*`)Manish Goregaokar-0/+122
2020-12-29Do not create dangling &T in Weak<T>::dropCAD97-1/+1
2020-12-28Rollup merge of #80398 - CAD97:fix-80365, r=dtolnayMara Bos-2/+2
2020-12-28de-stabilize unsized raw ptr methods for WeakRalf Jung-1/+3
2020-12-26Use raw version of align_of in rc data_offsetCAD97-2/+2
2020-12-18Stabilize Arc::{incr,decr}_strong_countYoshua Wuyts-11/+7
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-8/+8
2020-10-28Don't say you "should" use fully qualified syntaxCamelid-5/+8
2020-10-28Explain fully qualified syntax for `Rc` and `Arc`Camelid-2/+14
2020-10-25Merge remote-tracking branch 'upstream/master' into box-allocTim Diekmann-0/+2
2020-10-23Add a spin loop hint for Arc::downgradeNicolas Nattis-0/+2
2020-10-07Support custom allocators in `Box`Tim Diekmann-2/+2
2020-10-03Auto merge of #74160 - CAD97:weak-as-unsized-ptr, r=RalfJungbors-20/+21