From f759d6bf60f2632cc2c10dcacba19291cd7bd7d0 Mon Sep 17 00:00:00 2001 From: Szymon Duchniewicz Date: Wed, 19 Aug 2026 00:13:27 +1000 Subject: [PATCH] nit: README feature description fix --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 56ba834..c4d571e 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,11 @@ pub fn init_heap() { ## Features - **`use_spin`** (default): Provide a `LockedHeap` type that implements the [`GlobalAlloc`] trait by using a spinlock. -- **`alloc_ref`**: Provide an implementation of the unstable [`AllocRef`] trait; requires nightly Rust. - - Warning: The `AllocRef` trait is still regularly changed on the Rust side, so expect some regular breakage when using this feature. +- **`alloc_ref`**: Provide an implementation of the unstable [`Allocator`] trait; requires nightly Rust. + - Warning: The `Allocator` trait is still regularly changed on the Rust side, so expect some regular breakage when using this feature. [`GlobalAlloc`]: https://doc.rust-lang.org/nightly/core/alloc/trait.GlobalAlloc.html -[`AllocRef`]: https://doc.rust-lang.org/nightly/core/alloc/trait.AllocRef.html +[`Allocator`]: https://doc.rust-lang.org/nightly/core/alloc/trait.Allocator.html ## License This crate is dual-licensed under MIT or the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.