summary refs log tree commit diff
path: root/library/alloc/src/rc.rs
AgeCommit message (Expand)AuthorLines
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
2020-10-28Explain fully qualified syntax for `Rc` and `Arc`Camelid-7/+18
2020-10-07Support custom allocators in `Box`Tim Diekmann-2/+2
2020-10-03Auto merge of #74160 - CAD97:weak-as-unsized-ptr, r=RalfJungbors-24/+25
2020-10-03grammar nitRalf Jung-1/+1
2020-09-28Rename AllocErr to AllocErrorJacob Hughes-2/+2
2020-09-12?Sized bounds for rc::Weak::as_ptr and friendsCAD97-14/+14
2020-09-12Adjust rc::Weak::from_raw to support unsized TCAD97-11/+12
2020-09-11Address review commentscarbotaniuman-8/+14
2020-09-09Formatcarbotaniuman-3/+3
2020-09-09Add WeakInner<'_> and have Weak::inner() return itcarbotaniuman-39/+70
2020-09-09Eliminate mut reference UB in Drop impl for Rc<T>carbotaniuman-1/+1
2020-09-05Rollup merge of #75994 - mental32:impl-rc-new-cyclic, r=KodrAusDylan DPC-0/+44
2020-09-02Convert many files to intra-doc linksJoshua Nelson-4/+4
2020-09-01Removed [inline] and copied over comments from Arc::new_cyclicmental-1/+11
2020-08-29typomental-1/+1
2020-08-27`impl Rc::new_cyclic`mental32-0/+34
2020-08-22Auto merge of #75171 - amosonn:new_zeroed_slice, r=Amanieubors-15/+58
2020-08-21Update rc.rsamosonn-1/+1
2020-08-21Apply suggestions from code reviewLeSeulArtichaut-2/+1
2020-08-21Use intra-doc-links in `alloc`LeSeulArtichaut-62/+34
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-2/+2
2020-08-03Merge branch 'master' into remove-in-place-allocTim Diekmann-33/+12