about summary refs log tree commit diff
path: root/library/alloc/src/raw_vec.rs
AgeCommit message (Expand)AuthorLines
2021-10-10Add #[must_use] to alloc constructorsJohn Kugelman-0/+3
2021-08-28Fix a typo in raw_vecterrarier2111-1/+1
2021-07-24Hide allocator details from TryReserveErrorKornel-10/+10
2021-06-30alloc: `RawVec<T, A>::shrink` can be in `no_global_oom_handling`.Miguel Ojeda-1/+0
2021-05-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-1/+15
2021-04-25get rid of min_const_fn references in library/ and rustdocRalf Jung-10/+4
2021-03-21fmt, change to coldBen Kimock-2/+6
2021-03-21Mark RawVec::reserve as inline and outline the resizing logicBen Kimock-1/+13
2021-01-26Auto merge of #79113 - andjo403:raw_vec_ptr, r=m-ou-sebors-0/+1
2021-01-21Enforce statically that `MIN_NON_ZERO_CAP` is calculated at compile timeJoshua Nelson-16/+14
2020-12-15Auto merge of #78682 - glandium:issue78471, r=lcnrbors-0/+1
2020-12-08Do not inline finish_growMike Hommey-0/+1
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-12/+12
2020-11-22Auto merge of #79219 - shepmaster:beta-bump, r=Mark-Simulacrumbors-2/+1
2020-11-19Bump bootstrap compiler versionJake Goulding-2/+1
2020-11-18Add support for custom allocators in `Vec`Tim Diekmann-6/+1
2020-11-16mark raw_vec::ptr with inlineAndreas Jonson-0/+1
2020-11-16Rollup merge of #77691 - exrook:rename-layouterr, r=KodrAusMara Bos-2/+2
2020-10-25Merge remote-tracking branch 'upstream/master' into box-allocTim Diekmann-2/+3
2020-10-25Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obkYuki Okushi-1/+2
2020-10-21switch allow_internal_unstable const fns to rustc_allow_const_fn_unstableFlorian Warzecha-1/+2
2020-10-15Following #74010 by converting some newer cases of backticked O notations to ...Ryan Scott-1/+1
2020-10-08Rename LayoutErr to LayoutError outside of coreJacob Hughes-2/+2
2020-10-07Support custom allocators in `Box`Tim Diekmann-30/+30
2020-09-23Rollup merge of #76993 - blitzerr:alloc-ref, r=AmanieuDylan DPC-1/+1
2020-09-22Update library functions with stability attributesDylan MacKenzie-0/+1
2020-09-22removing &mut self for other methods of AllocRefblitzerr-1/+1
2020-09-21Rollup merge of #72734 - pickfire:liballoc, r=KodrAusecstatic-morse-15/+13
2020-09-19Use `T::BITS` instead of `size_of::<T> * 8`.Mara Bos-1/+1
2020-08-22Reduce duplicate in liballoc reserve error handlingIvan Tham-15/+13
2020-08-20Assume same alignment in `RawVec`Tim Diekmann-1/+6
2020-08-20Add debug assertion for equal alignment in RawVecTim Diekmann-0/+1
2020-08-19Allow reallocation to different alignmentTim Diekmann-7/+6
2020-08-09Rollup merge of #75151 - pickfire:patch-4, r=LukasKalbertodtYuki Okushi-4/+6
2020-08-04Replace `Memoryblock` with `NonNull<[u8]>`Tim Diekmann-15/+15
2020-08-04Consistent variable name alloc for raw_vecIvan Tham-4/+6
2020-07-28Remove in-place allocation and revert to separate methods for zeroed allocationsTim Diekmann-22/+22
2020-07-27mv std libs to library/mark-0/+536