Example [edit | edit source]. let v: Vec<i32> = [1, 2, 3].iter().map(|&i| i + 1).collect(); for num in v { println!
確定! 回上一頁