Closed Rua closed 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?
from_raw_in
Box
into_raw_with_allocator
Arc
Rc
Yes, this should be added to Arc and Rc. Feel free to send a PR.
I noticed that, while some types have a
from_raw_in
constructor that takes an allocator, onlyBox
has a correspondinginto_raw_with_allocator
method. Is this method planned to be added toArc
andRc
as well?