about summary refs log tree commit diff
path: root/library/core/src/alloc
AgeCommit message (Expand)AuthorLines
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+1
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+1
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+1
2021-07-30Consistent spelling of "adapter" in the standard libraryFrank Steffahn-2/+2
2021-07-29Fix may not to appropriate might not or must notAli Malik-1/+1
2021-07-21docs: GlobalAlloc: Make example only require 4096-aligned staticIan Jackson-3/+3
2021-07-20docs: GlobalAlloc: completely replace example with one that worksIan Jackson-11/+56
2021-06-24Use `#[non_exhaustive]` where appropriateJacob Pratt-10/+9
2021-03-15Fix const stability `since` versions.Oli Scherer-1/+1
2021-03-02Rollup merge of #80189 - jyn514:convert-primitives, r=poliorceticsYuki Okushi-1/+0
2021-02-28Try to clarify GlobalAlloc::realloc documentation comment.Vytautas Astrauskas-2/+5
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-1/+0
2021-02-05Rollup merge of #81767 - exrook:layout-error-stability, r=Mark-SimulacrumMara Bos-4/+4
2021-02-04Update LayoutError/LayoutErr stability attributesJacob Hughes-4/+4
2021-02-03make Allocator object-safeRustyYato-1/+4
2021-01-03Auto merge of #79827 - tmiasko:size-align, r=kennytmbors-0/+6
2020-12-26Auto merge of #79045 - oli-obk:dont_rely_on_alloc_happening_for_soundness, r=...bors-0/+21
2020-12-26DIrect invocations of `AllocRef::alloc` cannot get optimized awayoli-21/+0
2020-12-26Adjust markdown text to be more like the rendered textoli-8/+5
2020-12-26Update library/core/src/alloc/mod.rsOli Scherer-1/+1
2020-12-26Update library/core/src/alloc/global.rsOli Scherer-1/+1
2020-12-10Describe why `size_align` have not been inlined so farTomasz Miąsko-0/+6
2020-12-04Update documentation to review commentsoli-8/+21
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-33/+33
2020-11-22Stabilize `alloc::Layout const` functionsChris Denton-3/+3
2020-11-19Inform tidy about the reason for the ignored rust codeoli-2/+2
2020-11-19Elaborate on side effectsoli-1/+2
2020-11-19Fix tidyoli-2/+2
2020-11-19Note that there are other optimizations than the one showcasedoli-0/+6
2020-11-19Document that heap allocations are not guaranteed to happen, even if explicit...oli-0/+25
2020-11-16Rollup merge of #77691 - exrook:rename-layouterr, r=KodrAusMara Bos-26/+45
2020-10-27Change layouterr deprecation messageJacob Hughes-2/+2
2020-10-15Deny broken intra-doc links in linkcheckerJoshua Nelson-9/+3
2020-10-08Deprecate LayoutErrJacob Hughes-1/+14
2020-10-08Rename LayoutErr to LayoutError in coreJacob Hughes-25/+31
2020-10-01Rollup merge of #77315 - exrook:rename-allocerror, r=joshtriplettDylan DPC-13/+13
2020-09-28Rename AllocErr to AllocErrorJacob Hughes-13/+13
2020-09-28Change `AllocRef::by_ref` to take `&self` instead of `&mut self`Tim Diekmann-1/+1
2020-09-23Rollup merge of #76993 - blitzerr:alloc-ref, r=AmanieuDylan DPC-14/+14
2020-09-22a few more &mut self -> self changesblitzerr-8/+8
2020-09-22Update library functions with stability attributesDylan MacKenzie-0/+1
2020-09-22removing &mut self for other methods of AllocRefblitzerr-4/+4
2020-09-21Changing the alloc() to accept &self instead of &mut selfblitzerr-2/+2
2020-08-26Auto merge of #75687 - TimDiekmann:realloc-align, r=Amanieubors-79/+61
2020-08-22Link to primitive instead of moduleDenis Vasilik-1/+2
2020-08-21Use intra-doc linksDenis Vasilik-3/+2
2020-08-21Use intra-doc linksDenis Vasilik-2/+1
2020-08-19Allow reallocation to different alignmentTim Diekmann-79/+61
2020-08-18Clean up AllocRef implementation and documentationTim Diekmann-29/+29
2020-08-17Remove fast path in reallocation for same layout sizesTim Diekmann-18/+0