rust-lang / wg-allocators

Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!
http://bit.ly/hello-wg-allocators
203 stars 9 forks source link

BTreeMap::new_in should be const #118

Closed Kritzefitz closed 8 months ago

Kritzefitz commented 9 months ago

The title basically already says it all. alloc::collections::btree_map::BTreeMap::new_in is currently not marked as const, even though there doesn't seem to be a good reason why it shouldn't be.

Amanieu commented 9 months ago

Sounds good! Feel free to submit a PR and assign it to me for review.

Kritzefitz commented 8 months ago

If I'm not mistaken, the merged PR fixes this issue.