Implement write_all_vectored
for VecDeque
by a1phyr · Pull Request #136819 · rust-lang/rust (original) (raw)
Can you please write a comment above that says that this is OK because write_vectored
for VecDeque
always writes all data? It's not immediately obvious.
That said, I'm not convinced that this method here should be overriden. The default implementation will simply call write_vectored
as well with some stuff around but I think it's perfectly fine to leave the default here. I don't think we win anything from overriding it.