about summary refs log tree commit diff
path: root/library/alloc/src/sync.rs
AgeCommit message (Expand)AuthorLines
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
2020-10-03grammar nitRalf Jung-1/+1
2020-09-28Rename AllocErr to AllocErrorJacob Hughes-2/+2
2020-09-12Allow Weak::as_ptr and friends for unsized TCAD97-9/+9
2020-09-12Adjust sync::Weak::from_raw to support unsized TCAD97-11/+12
2020-09-02Revert change to MaybeUninit until rustdoc bugs are fixedJoshua Nelson-4/+4
2020-09-02Convert many files to intra-doc linksJoshua Nelson-6/+6
2020-08-28Add missing hyphenCamelid-1/+1
2020-08-24Auto merge of #75505 - Dylan-DPC:feature/arc_new, r=KodrAusbors-3/+80
2020-08-24add issue numberDylan DPC-1/+1
2020-08-22Auto merge of #75171 - amosonn:new_zeroed_slice, r=Amanieubors-15/+58
2020-08-21Apply suggestions from code reviewLeSeulArtichaut-2/+2
2020-08-21Use intra-doc-links in `alloc`LeSeulArtichaut-76/+43
2020-08-15tidy upDPC-23/+23
2020-08-13Add Arc::new_cyclicDPC-3/+80
2020-08-05Add {Box,Rc,Arc}::new_zeroed_sliceAmos Onn-0/+34
2020-08-05Use alloc_zeroed in {Rc,Arc}::new_zeroedAmos Onn-15/+24
2020-08-04Replace `Memoryblock` with `NonNull<[u8]>`Tim Diekmann-3/+3
2020-08-03Merge branch 'master' into remove-in-place-allocTim Diekmann-35/+12
2020-08-02fix typosliuzhenyu-1/+1
2020-07-30Rollup merge of #74782 - vorner:weak-into-raw-cnt-doc, r=dtolnayManish Goregaokar-11/+11
2020-07-29Remove deprecated unstable `{Box,Rc,Arc}::into_raw_non_null` functionsSimon Sapin-23/+0
2020-07-28Remove in-place allocation and revert to separate methods for zeroed allocationsTim Diekmann-4/+2
2020-07-28Don't use "weak count" around Weak::from_raw_ptrMichal 'vorner' Vaner-11/+11
2020-07-27mv std libs to library/mark-0/+2294