summary refs log tree commit diff
path: root/src/libcore/alloc.rs
AgeCommit message (Expand)AuthorLines
2020-02-21Revert "Remove `checked_add` in `Layout::repeat`"Sebastian Hahn-5/+7
2020-01-20Added minor clarification to specification of realloc.Matthew Parkinson-1/+2
2020-01-11Constify alloc::LayoutLukas Lueg-4/+8
2020-01-09Mark Layout::new as const stableCAD97-0/+1
2020-01-09Make Layout::new constChristopher Durham-3/+2
2019-12-22Format the worldMark Rousskov-96/+71
2019-12-18Propagate cfg bootstrapMark Rousskov-1/+1
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-0/+1
2019-12-11Rollup merge of #67174 - kraai:remove-checked_add, r=rkruppeMazdak Farrokhzad-2/+5
2019-12-11Rollup merge of #67154 - kraai:alloc-typos, r=Dylan-DPCYuki Okushi-6/+6
2019-12-09Rollup merge of #67155 - kraai:move-instead-of-binding-to-reference, r=cramertjTyler Mandry-6/+6
2019-12-09Remove `checked_add` in `Layout::repeat`Matthew Kraai-2/+5
2019-12-08Move `Layout`s instead of binding by referenceMatthew Kraai-6/+6
2019-12-08Change "attributes" to "attribute" in `Alloc`'s docsMatthew Kraai-1/+1
2019-12-08Change "`alloc`/`realloc`" to "`realloc/dealloc`"Matthew Kraai-3/+3
2019-12-08Add "this" to `GlobalAlloc::alloc`'s docsMatthew Kraai-1/+1
2019-12-08Change "though" to "through" in `Alloc`'s docsMatthew Kraai-1/+1
2019-12-08Change "result" to "resulting" in `Layout::extend`'s docsMatthew Kraai-1/+1
2019-12-07Simplify `Layout::extend_packed`Matthew Kraai-2/+1
2019-12-06Rollup merge of #67092 - kraai:us-to-is, r=jonas-schievinkMazdak Farrokhzad-2/+2
2019-12-06Change "wth" to "with" in `Layout::padding_needed_for` commentMatthew Kraai-1/+1
2019-12-06Change "us" to "is" in Layout::for_value commentMatthew Kraai-1/+1
2019-12-06Change "either" to "any" in Layout::from_size_align's docsMatthew Kraai-1/+1
2019-11-25Clarify Layout::pad_to_align safety commentChristopher Durham-1/+1
2019-11-25Remove unsafe in Layout::pad_to_alignChristopher Durham-3/+1
2019-11-09Fix typoChristopher Durham-1/+1
2019-11-09Fix Layout::pad_to_align type mismatchChristopher Durham-2/+3
2019-11-09Layout::pad_to_align is infallibleChristopher Durham-5/+7
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-0/+2
2019-07-18Fix clippy::clone_on_copy warningsMateusz Mikuła-2/+2
2019-07-09Add missing links for CannotReallocInPlace typeGuillaume Gomez-2/+5
2019-05-19Rollup merge of #60947 - blkerby:global_alloc_typo, r=jonas-schievinkMazdak Farrokhzad-2/+2
2019-05-18Fix typos in docs of GlobalAllocBrent Kerby-2/+2
2019-05-14Mark core::alloc::Layout::from_size_align_unchecked constRichard Wiedenhöft-1/+1
2019-04-19libcore: deny more...Mazdak Farrokhzad-3/+3
2019-04-18libcore => 2018Taiki Endo-6/+6
2019-02-25heading # Unsafety => # Safety in stdlib docs.Mazdak Farrokhzad-2/+2
2019-02-10tests: doc commentsAlexander Regueiro-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-12/+12
2018-11-11Rollup merge of #55844 - waywardmonkeys:typo-fixes, r=varkorPietro Albini-2/+2
2018-11-10Fix documentation typos.Bruce Mitchener-2/+2
2018-11-08Fix Rc/Arc allocation layoutMurarth-0/+17
2018-11-06Add a tracking issue for extra Layout methodsAmanieu d'Antras-7/+7
2018-11-06API changes as discussed in the commentsAmanieu d'Antras-17/+6
2018-11-06Add a comment about how Layout::extend matches the C struct layoutAmanieu d'Antras-0/+3
2018-10-23fix typos in various placesMatthias Krüger-1/+1
2018-08-04Remove explicit returns where unnecessaryljedrz-5/+5
2018-08-01Switch to bootstrapping from 1.29 betaMark Rousskov-5/+1
2018-07-09Implement #[alloc_error_handler]Simon Sapin-0/+1