Skip to content

Commit

Permalink
liballoc: resolve the alloc::prelude::v1 question
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Mar 5, 2019
1 parent 7934eb3 commit 9ed70bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions text/0000-liballoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,11 @@ It does provide a memory allocator through `malloc` and related functions, uncon
The name `global_alloc` was proposed.
(Although the crate doesn’t only contain the global allocator itself.)

* Should the `alloc::prelude` module be moved to `alloc::prelude::v1`?
* ~Should the `alloc::prelude` module be moved to `alloc::prelude::v1`?
This would make the `alloc` module structure a subset of `std` without exception.
However, since this prelude is not inserted automatically,
it is less likely that we’ll ever have a second version of it.
In that sense it is closer to `std::io::prelude` than `std::prelude::v1`.
In that sense it is closer to `std::io::prelude` than `std::prelude::v1`.~
Done in [PR #58933].

[PR #58933]: https://github.com/rust-lang/rust/pull/58933

0 comments on commit 9ed70bc

Please sign in to comment.