Skip to content

Commit 9ed70bc

Browse files
committed
liballoc: resolve the alloc::prelude::v1 question
1 parent 7934eb3 commit 9ed70bc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

text/0000-liballoc.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,11 @@ It does provide a memory allocator through `malloc` and related functions, uncon
316316
The name `global_alloc` was proposed.
317317
(Although the crate doesn’t only contain the global allocator itself.)
318318

319-
* Should the `alloc::prelude` module be moved to `alloc::prelude::v1`?
319+
* ~Should the `alloc::prelude` module be moved to `alloc::prelude::v1`?
320320
This would make the `alloc` module structure a subset of `std` without exception.
321321
However, since this prelude is not inserted automatically,
322322
it is less likely that we’ll ever have a second version of it.
323-
In that sense it is closer to `std::io::prelude` than `std::prelude::v1`.
323+
In that sense it is closer to `std::io::prelude` than `std::prelude::v1`.~
324+
Done in [PR #58933].
325+
326+
[PR #58933]: https://github.com/rust-lang/rust/pull/58933

0 commit comments

Comments
 (0)