minus-squarezemja@programming.devtoRust@programming.dev•Rust Optimization: `Vec::into_iter().collect()`linkfedilinkEnglisharrow-up1·6 months agoI thought this was the point of vec.drain(..).collect(). linkfedilink
I thought this was the point of
vec.drain(..).collect()
.