Closed athre0z closed 3 years ago
Please go ahead, I think I simply forgot to implement it. 🙂
Excellent — I created a PR over at https://github.com/rust-lang/rust/pull/82862!
Aaaand it's merged! I'd like to use this chance to thank you (and everyone else involved with this!) for your work on allocator_api
. I think that this gets a lot less attention than it deserves. Particularly for gracefully working with arena allocators, this is super important to have!
I think we need to check if we have other forgotten impls. A simple way will be to just remove the default type for A
and search for compiler errors.
I'd like to generalize the
Write
impl forVec<u8>
toVec<u8, A>
. Is there any reason for not doing this? I suspect that this impl might simply have been forgotten because it lives in theio
module rather than by the other trait impls forVec
?