about summary refs log tree commit diff
path: root/src/liballoc/raw_vec.rs
AgeCommit message (Expand)AuthorLines
2019-09-16Const-stabilize `Vec::new`.Mazdak Farrokhzad-1/+26
2019-09-14Update src/liballoc/raw_vec.rsAlexander Regueiro-1/+1
2019-09-06A few cosmetic improvements to code & comments in liballoc and libcoreAlexander Regueiro-76/+74
2019-08-16Add the Layout of the failed allocation to TryReserveError::AllocErrorSimon Sapin-9/+11
2019-08-16Rename CollectionAllocError to TryReserveErrorSimon Sapin-6/+6
2019-08-02liballoc: Unconfigure tests during normal buildVadim Petrochenkov-79/+3
2019-07-25Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichtonbors-59/+60
2019-06-25Remove RawVec::cap()Matthias Geier-6/+0
2019-05-27avoid materializing unintialized Boxes in RawVecAleksey Kladov-4/+6
2019-04-27Rename .cap() methods to .capacity()Matthias Geier-59/+66
2019-04-12Stabilize the `alloc` crate.Simon Sapin-2/+2
2019-02-10libs: doc commentsAlexander Regueiro-2/+2
2019-02-03liballoc: revert nested imports style changes.Mazdak Farrokhzad-13/+9
2019-02-02liballoc: apply uniform_paths.Mazdak Farrokhzad-2/+2
2019-02-02liballoc: adjust abolute imports + more import fixes.Mazdak Farrokhzad-1/+1
2019-02-02liballoc: refactor & fix some imports.Mazdak Farrokhzad-11/+14
2019-02-02liballoc: cargo check passes on 2018Mazdak Farrokhzad-5/+5
2019-01-08RawVec doesn't always abort on allocation errorsJonathan Behrens-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-11-13fix various typos in doc commentsAndy Russell-1/+1
2018-08-21Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJungkennytm-2/+2
2018-08-20Replace usages of ptr::offset with ptr::{add,sub}.Corey Farwell-2/+2
2018-08-19Fix typos found by codespell.Matthias Krüger-1/+1
2018-06-29Move core::alloc::CollectionAllocErr to alloc::collectionsSimon Sapin-2/+2
2018-06-29Make raw_vec perma-unstable and hiddenSimon Sapin-2/+5
2018-06-18Rename OOM to allocation errorSimon Sapin-6/+10
2018-06-11Remove some unneeded castsSimon Sapin-3/+3
2018-06-11Remove alloc::Opaque and use *mut u8 as pointer type for GlobalAllocMike Hommey-10/+9
2018-05-30Pass a `Layout` to `oom`Mike Hommey-74/+82
2018-05-10Restore RawVec::reserve* documentationMike Hommey-56/+57
2018-05-08Cleanup a `use` in a raw_vec testMike Hommey-1/+1
2018-04-29heh, logic is hardMark Mansi-1/+1
2018-04-29use const trickMark Mansi-23/+6
2018-04-25make RawVec::empty constMark Mansi-1/+4
2018-04-25Make Vec::new constMark Mansi-0/+16
2018-04-22Remove Alloc::oomSteven Fackler-7/+7
2018-04-16Auto merge of #49488 - alexcrichton:small-wasm-panic, r=sfacklerbors-8/+15
2018-04-14Cleanup liballoc use statementsMike Hommey-4/+5
2018-04-13Reduce the size of panics in RawVecAlex Crichton-8/+15
2018-04-12Rename alloc::Void to alloc::OpaqueSimon Sapin-11/+11
2018-04-12Use NonNull<Void> instead of *mut u8 in the Alloc traitMike Hommey-21/+19
2018-04-12realloc with a new size only, not a full new layout.Simon Sapin-9/+8
2018-04-12Return Result instead of Option in alloc::Layout constructorsSimon Sapin-2/+2
2018-04-12Remove the now-unit-struct AllocErr field inside CollectionAllocErrSimon Sapin-2/+2
2018-04-12Remove the now-unit-struct AllocErr parameter of oom()Simon Sapin-6/+6
2018-04-12Make AllocErr a zero-size unit structSimon Sapin-1/+1
2018-04-12Actually deprecate the Heap typeSimon Sapin-12/+11
2018-04-02Use Alloc and Layout from core::heap.Mike Hommey-1/+2
2018-03-14implementing fallible allocation API (try_reserve) for Vec, String and HashMapsnf-42/+60