📅  最后修改于: 2022-03-11 14:49:25.079000             🧑  作者: Mango
fn main() {
let s = "line 1
line 2
line 3";
let chunks:Vec<_> = s.split_whitespace().collect();
println!("Sum of x and y = {:?} ", chunks);
}