Here is my attempt to implement std::io::Write for Vec<'bump, u8>
I believe there are other common traits like this we could implement for some collections but I have left that for another time (but I 'd be happy to contribute those).
I have a few questions:
The current std feature does not do anything on its own, it's currently only useful if you also have the collections feature enabled too. I think it's fine but I wondered if having instead a collections-std feature depending on collections would be better? Although the std feature is pretty standard across the community.
Are there enough tests and are they at the right place? The implementation seems trivial and has been copied from std (except for the vectored part that is currently unstable).
Hi @fitzgen
Here is my attempt to implement
std::io::Write
forVec<'bump, u8>
I believe there are other common traits like this we could implement for some collections but I have left that for another time (but I 'd be happy to contribute those).I have a few questions:
std
feature does not do anything on its own, it's currently only useful if you also have thecollections
feature enabled too. I think it's fine but I wondered if having instead acollections-std
feature depending oncollections
would be better? Although thestd
feature is pretty standard across the community.Fixes https://github.com/fitzgen/bumpalo/issues/215