| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-04-14 | Fix some grammar errors and hyperlinks in doc for `trait Allocator` | Janggun Lee | -2/+4 | |
| * "while until either" could also be changed to "for a while until either", but I just deleted "while". * fixed sentence with incorrect "at" and "has/have". * linked [*currently allocated*] similar to other methods. | ||||
| 2025-02-07 | library: doc: core::alloc::Allocator: trivial typo fix | Askar Safin | -1/+1 | |
| 2025-01-29 | Cleanup docs for Allocator | Marijn Schouten | -31/+27 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -2/+0 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-02-13 | Add information about allocation lifetime to Allocator::allocate | Amanieu d'Antras | -0/+4 | |
| 2024-02-12 | Clarify the lifetimes of allocations returned by the `Allocator` trait | Amanieu d'Antras | -2/+4 | |
| The previous definition (accidentally) disallowed the implementation of stack-based allocators whose memory would become invalid once the lifetime of the allocator type ended. This also ensures the validity of the following blanket implementation: ```rust impl<A: Allocator> Allocator for &'_ A {} ``` | ||||
| 2023-05-30 | Rollup merge of #107916 - reez12g:issue-107040, r=Amanieu | Nilstrieb | -2/+3 | |
| fix comment on Allocator trait fixes https://github.com/rust-lang/rust/issues/107040 | ||||
| 2023-05-30 | fix comment on Allocator trait | reez12g | -2/+3 | |
| 2023-04-16 | rm const traits in libcore | Deadbeef | -1/+0 | |
| 2022-11-30 | Clarify that copied allocators must behave the same | LegionMammal978 | -3/+3 | |
| 2022-11-18 | clarify that realloc refreshes pointer provenance even when the allocation ↵ | Ralf Jung | -4/+6 | |
| remains in-place | ||||
| 2022-09-26 | remove cfg(bootstrap) | Pietro Albini | -2/+0 | |
| 2022-09-16 | Add `const_trait` to `Allocator` | Deadbeef | -0/+1 | |
| 2022-08-22 | Move error trait into core | Jane Losare-Lusby | -0/+10 | |
| 2022-05-14 | Remove potentially misleading realloc parenthetical | CAD97 | -4/+2 | |
| 2022-04-14 | Remove use of `#[rustc_deprecated]` | Jacob Pratt | -2/+2 | |
| 2022-03-31 | add notes about alignment-altering reallocs to Allocator docs | Autumn | -0/+6 | |
| 2021-07-30 | Consistent spelling of "adapter" in the standard library | Frank Steffahn | -2/+2 | |
| Change all occurrences of "(A|a)daptor" to "(A|a)dapter". | ||||
| 2021-02-05 | Rollup merge of #81767 - exrook:layout-error-stability, r=Mark-Simulacrum | Mara Bos | -2/+2 | |
| Update LayoutError/LayoutErr stability attributes `LayoutError` ended up not making it into 1.49.0, updating the stability attributes to reflect that. I also pushed `LayoutErr` deprecation back a release to allow 2 releases before the deprecation comes into effect. This change should be backported to beta. | ||||
| 2021-02-04 | Update LayoutError/LayoutErr stability attributes | Jacob Hughes | -2/+2 | |
| 2021-02-03 | make Allocator object-safe | RustyYato | -1/+4 | |
| add test to ensure object-safety This allows for runtime polymorphic allocators | ||||
| 2020-12-04 | Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate` | Tim Diekmann | -32/+32 | |
| 2020-11-16 | Rollup merge of #77691 - exrook:rename-layouterr, r=KodrAus | Mara Bos | -1/+12 | |
| Rename/Deprecate LayoutErr in favor of LayoutError Implements rust-lang/wg-allocators#73. This patch renames LayoutErr to LayoutError, and uses a type alias to support users using the old name. The new name will be instantly stable in release 1.49 (current nightly), the type alias will become deprecated in release 1.51 (so that when the current nightly is 1.51, 1.49 will be stable). This is the only error type in `std` that ends in `Err` rather than `Error`, if this PR lands all stdlib error types will end in `Error` :smiling_face_with_three_hearts: | ||||
| 2020-10-27 | Change layouterr deprecation message | Jacob Hughes | -1/+1 | |
| 2020-10-15 | Deny broken intra-doc links in linkchecker | Joshua Nelson | -9/+3 | |
| Since rustdoc isn't warning about these links, check for them manually. | ||||
| 2020-10-08 | Deprecate LayoutErr | Jacob Hughes | -1/+9 | |
| 2020-10-08 | Rename LayoutErr to LayoutError in core | Jacob Hughes | -0/+3 | |
| 2020-10-01 | Rollup merge of #77315 - exrook:rename-allocerror, r=joshtriplett | Dylan DPC | -13/+13 | |
| Rename AllocErr to AllocError Implements rust-lang/wg-allocators#57 | ||||
| 2020-09-28 | Rename AllocErr to AllocError | Jacob Hughes | -13/+13 | |
| 2020-09-28 | Change `AllocRef::by_ref` to take `&self` instead of `&mut self` | Tim Diekmann | -1/+1 | |
| 2020-09-22 | a few more &mut self -> self changes | blitzerr | -8/+8 | |
| 2020-09-22 | removing &mut self for other methods of AllocRef | blitzerr | -4/+4 | |
| 2020-09-21 | Changing the alloc() to accept &self instead of &mut self | blitzerr | -2/+2 | |
| 2020-08-19 | Allow reallocation to different alignment | Tim Diekmann | -79/+61 | |
| 2020-08-18 | Clean up AllocRef implementation and documentation | Tim Diekmann | -29/+29 | |
| 2020-08-17 | Remove fast path in reallocation for same layout sizes | Tim Diekmann | -18/+0 | |
| 2020-08-04 | Revert missing "memory block" | Tim Diekmann | -1/+1 | |
| 2020-08-04 | Revert renaming of "memory block" | Tim Diekmann | -22/+22 | |
| 2020-08-04 | Replace `Memoryblock` with `NonNull<[u8]>` | Tim Diekmann | -72/+68 | |
| 2020-08-04 | Apply suggestions from code review | Tim Diekmann | -6/+5 | |
| Co-authored-by: Amanieu d'Antras <amanieu@gmail.com> | ||||
| 2020-08-01 | Remove a trailing whitespace | Tim Diekmann | -1/+1 | |
| 2020-08-01 | Update doc-comment for grow_zeroed | Tim Diekmann | -2/+7 | |
| 2020-07-28 | Remove in-place allocation and revert to separate methods for zeroed allocations | Tim Diekmann | -174/+162 | |
| Fix docs | ||||
| 2020-07-27 | mv std libs to library/ | mark | -0/+446 | |
