| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-13 | Require stable/unstable annotations for the constness of all stable ↵ | Oliver Scherer | -0/+1 | |
| functions with a `const` modifier | ||||
| 2019-12-11 | Rollup merge of #67174 - kraai:remove-checked_add, r=rkruppe | Mazdak Farrokhzad | -2/+5 | |
| Remove `checked_add` in `Layout::repeat` | ||||
| 2019-12-11 | Rollup merge of #67154 - kraai:alloc-typos, r=Dylan-DPC | Yuki Okushi | -6/+6 | |
| Fix typos in src/libcore/alloc.rs docs | ||||
| 2019-12-09 | Rollup merge of #67155 - kraai:move-instead-of-binding-to-reference, r=cramertj | Tyler Mandry | -6/+6 | |
| Move `Layout`s instead of binding by reference | ||||
| 2019-12-09 | Remove `checked_add` in `Layout::repeat` | Matthew Kraai | -2/+5 | |
| 2019-12-08 | Move `Layout`s instead of binding by reference | Matthew Kraai | -6/+6 | |
| 2019-12-08 | Change "attributes" to "attribute" in `Alloc`'s docs | Matthew Kraai | -1/+1 | |
| 2019-12-08 | Change "`alloc`/`realloc`" to "`realloc/dealloc`" | Matthew Kraai | -3/+3 | |
| 2019-12-08 | Add "this" to `GlobalAlloc::alloc`'s docs | Matthew Kraai | -1/+1 | |
| 2019-12-08 | Change "though" to "through" in `Alloc`'s docs | Matthew Kraai | -1/+1 | |
| 2019-12-08 | Change "result" to "resulting" in `Layout::extend`'s docs | Matthew Kraai | -1/+1 | |
| 2019-12-07 | Simplify `Layout::extend_packed` | Matthew Kraai | -2/+1 | |
| 2019-12-06 | Rollup merge of #67092 - kraai:us-to-is, r=jonas-schievink | Mazdak Farrokhzad | -2/+2 | |
| Fix comment typos in src/libcore/alloc.rs | ||||
| 2019-12-06 | Change "wth" to "with" in `Layout::padding_needed_for` comment | Matthew Kraai | -1/+1 | |
| 2019-12-06 | Change "us" to "is" in Layout::for_value comment | Matthew Kraai | -1/+1 | |
| 2019-12-06 | Change "either" to "any" in Layout::from_size_align's docs | Matthew Kraai | -1/+1 | |
| 2019-11-25 | Clarify Layout::pad_to_align safety comment | Christopher Durham | -1/+1 | |
| 2019-11-25 | Remove unsafe in Layout::pad_to_align | Christopher Durham | -3/+1 | |
| 2019-11-09 | Fix typo | Christopher Durham | -1/+1 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-11-09 | Fix Layout::pad_to_align type mismatch | Christopher Durham | -2/+3 | |
| 2019-11-09 | Layout::pad_to_align is infallible | Christopher Durham | -5/+7 | |
| 2019-11-06 | Have tidy ensure that we document all `unsafe` blocks in libcore | Oliver Scherer | -0/+2 | |
| 2019-07-18 | Fix clippy::clone_on_copy warnings | Mateusz Mikuła | -2/+2 | |
| 2019-07-09 | Add missing links for CannotReallocInPlace type | Guillaume Gomez | -2/+5 | |
| 2019-05-19 | Rollup merge of #60947 - blkerby:global_alloc_typo, r=jonas-schievink | Mazdak Farrokhzad | -2/+2 | |
| Fix typos in docs of GlobalAlloc | ||||
| 2019-05-18 | Fix typos in docs of GlobalAlloc | Brent Kerby | -2/+2 | |
| 2019-05-14 | Mark core::alloc::Layout::from_size_align_unchecked const | Richard Wiedenhöft | -1/+1 | |
| 2019-04-19 | libcore: deny more... | Mazdak Farrokhzad | -3/+3 | |
| 2019-04-18 | libcore => 2018 | Taiki Endo | -6/+6 | |
| 2019-02-25 | heading # Unsafety => # Safety in stdlib docs. | Mazdak Farrokhzad | -2/+2 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -12/+12 | |
| 2018-11-11 | Rollup merge of #55844 - waywardmonkeys:typo-fixes, r=varkor | Pietro Albini | -2/+2 | |
| Fix documentation typos. | ||||
| 2018-11-10 | Fix documentation typos. | Bruce Mitchener | -2/+2 | |
| 2018-11-08 | Fix Rc/Arc allocation layout | Murarth | -0/+17 | |
| * Rounds allocation layout up to a multiple of alignment * Adds a convenience method `Layout::pad_to_align` to perform rounding | ||||
| 2018-11-06 | Add a tracking issue for extra Layout methods | Amanieu d'Antras | -7/+7 | |
| 2018-11-06 | API changes as discussed in the comments | Amanieu d'Antras | -17/+6 | |
| 2018-11-06 | Add a comment about how Layout::extend matches the C struct layout | Amanieu d'Antras | -0/+3 | |
| 2018-10-23 | fix typos in various places | Matthias Krüger | -1/+1 | |
| 2018-08-04 | Remove explicit returns where unnecessary | ljedrz | -5/+5 | |
| 2018-08-01 | Switch to bootstrapping from 1.29 beta | Mark Rousskov | -5/+1 | |
| 2018-07-09 | Implement #[alloc_error_handler] | Simon Sapin | -0/+1 | |
| This to-be-stable attribute is equivalent to `#[lang = "oom"]`. It is required when using the alloc crate without the std crate. It is called by `handle_alloc_error`, which is in turned called by "infallible" allocations APIs such as `Vec::push`. | ||||
| 2018-06-29 | Move core::alloc::CollectionAllocErr to alloc::collections | Simon Sapin | -28/+0 | |
| 2018-06-27 | Document that Layout::from_size_align does not allow align=0 | Simon Sapin | -0/+2 | |
| This was already implied since zero is not a power of two, but maybe worth pointing out. | ||||
| 2018-06-18 | Rename OOM to allocation error | Simon Sapin | -24/+24 | |
| The acronym is not descriptive unless one has seen it before. * Rename the `oom` function to `handle_alloc_error`. It was **stabilized in 1.28**, so if we do this at all we need to land it this cycle. * Rename `set_oom_hook` to `set_alloc_error_hook` * Rename `take_oom_hook` to `take_alloc_error_hook` Bikeshed: `alloc` v.s. `allocator`, `error` v.s. `failure` | ||||
| 2018-06-11 | More alloc docs tweaks | Simon Sapin | -1/+23 | |
| 2018-06-11 | Alloc docs teaks | Simon Sapin | -5/+0 | |
| 2018-06-11 | Stablize the GlobalAlloc trait | Simon Sapin | -1/+5 | |
| Fixes https://github.com/rust-lang/rust/issues/49668 | ||||
| 2018-06-11 | Stabilize alloc::Layout (with only some of its methods) | Simon Sapin | -9/+9 | |
