drain
#![allow(unused)] fn main() { let src: Vec<i32> = vec![1, 2, 3]; let dst: Vec<i2> = src.drain(..).collect(); }