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

Missing `into_raw_with_allocator` methods #129

Closed Rua closed 3 weeks ago

Rua commented 3 weeks ago

I noticed that, while some types have a from_raw_in constructor that takes an allocator, only Box has a corresponding into_raw_with_allocator method. Is this method planned to be added to Arc and Rc as well?

Amanieu commented 3 weeks ago

Yes, this should be added to Arc and Rc. Feel free to send a PR.