about summary refs log tree commit diff
path: root/src/liballoc/rc.rs
AgeCommit message (Expand)AuthorLines
2018-07-23typosRalf Jung-2/+2
2018-07-23Don't use NonNull::dangling as sentinel valueRalf Jung-5/+8
2018-07-11Revert borked changes in last commit.ljedrz-2/+2
2018-07-10Add missing dyn in liballocljedrz-9/+9
2018-07-10Deny bare trait objects in in src/liballocljedrz-2/+2
2018-07-06Rollup merge of #52103 - tmccombs:rc_downcast, r=Mark-SimulacrumMark Rousskov-2/+1
2018-07-07Fix is_dangling import when Arc is #[cfg]’ed outSimon Sapin-1/+6
2018-07-07Rc: remove unused allocation from Weak::new()Simon Sapin-23/+36
2018-07-06Stabilize rc_downcastThayne McCombs-2/+1
2018-06-18Rename OOM to allocation errorSimon Sapin-2/+2
2018-06-11Remove alloc::Opaque and use *mut u8 as pointer type for GlobalAllocMike Hommey-5/+5
2018-05-31Update `Arc` and `Rc` to use `NonNull::cast` to cast the inner pointersJeremy Fitzhardinge-9/+3
2018-05-30Pass a `Layout` to `oom`Mike Hommey-1/+1
2018-04-27Auto merge of #50097 - glandium:box_free, r=nikomatsakisbors-2/+3
2018-04-25Switch box_free to take the destructured contents of BoxMike Hommey-2/+3
2018-04-22Replace GlobalAlloc::oom with a lang itemSteven Fackler-2/+2
2018-04-12Rename alloc::Void to alloc::OpaqueSimon Sapin-5/+5
2018-04-12Use NonNull<Void> instead of *mut u8 in the Alloc traitMike Hommey-11/+7
2018-04-12Remove the now-unit-struct AllocErr parameter of oom()Simon Sapin-1/+1
2018-04-12Actually deprecate the Heap typeSimon Sapin-7/+6
2018-04-02Use Alloc and Layout from core::heap.Mike Hommey-1/+2
2018-01-20Rename Box::into_non_null_raw to Box::into_raw_non_nullSimon Sapin-2/+2
2018-01-20Rename Box::*_nonnull_raw to *_non_null_rawSimon Sapin-2/+2
2018-01-20Replace Box::{from,into}_unique with {from,into}_nonnull_rawSimon Sapin-4/+4
2018-01-20Rename std::ptr::Shared to NonNullSimon Sapin-10/+10
2017-12-25Remove transmute in From<&str> impls for Arc/RcNikolai Vazquez-1/+2
2017-12-16Move PhantomData<T> from Shared<T> to users of both Shared and #[may_dangle]Simon Sapin-6/+10
2017-11-21fix some typosMartin Lindhe-1/+1
2017-11-20Print the address of the pointed value in Pointer impl for Rc and ArcMarco A L Barbosa-1/+1
2017-10-05Modify Rc/Arc language around mutabilitysteveklabnik-1/+1
2017-09-17Rollup merge of #44073 - murarth:rc-into-raw-unsized, r=alexcrichtonTim Neumann-7/+35
2017-09-16Implement `Arc`/`Rc` raw pointer conversions for `?Sized`Murarth-7/+35
2017-09-15alloc: Add tracking issue for rc_downcastUlrik Sverdrup-1/+1
2017-09-03alloc: Implement downcast Rc<Any> -> Rc<T>Ulrik Sverdrup-0/+61
2017-08-19Implement `From<&[T]>` and others for `Arc`/`Rc`Murarth-60/+291
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-1/+1
2017-07-22Add Box::into_uniqueSimon Sapin-13/+11
2017-07-22Rename {NonZero,Shared,Unique}::new to new_uncheckedSimon Sapin-5/+5
2017-07-18Fix erroneous reference to Arc instead of RcLynn-1/+1
2017-07-05rustc: Implement the #[global_allocator] attributeAlex Crichton-5/+6
2017-06-22Fix ref as mutable ref in std::rc::Rc docLetheed-1/+1
2017-06-16Introduce tidy lint to check for inconsistent tracking issuesest31-2/+2
2017-06-05Use single quotes, and doc the Rc struct itself.Ulysse Carion-3/+4
2017-06-03Explicate what "Rc" and "Arc" stand for.Ulysse Carion-1/+2
2017-05-22Update Rc and Arc documentation.Nicolas Silva-15/+33
2017-05-04fallout from NonZero/Unique/Shared changesAlexis Beingessner-28/+22
2017-04-23Auto merge of #41437 - cuviper:remove-unstable-deprecated, r=alexcrichtonbors-18/+1
2017-04-22cache attributes of items from foreign cratesAriel Ben-Yehuda-2/+33
2017-04-20Privatize Rc::is_uniqueJosh Stone-5/+1
2017-04-20Remove Rc::would_wrapJosh Stone-13/+0