split returns an iterator. for s in strings { println!("{}", s) }. And can be "collected" in a Vec with the Iterator::collect method. let strings: Vec<&str> ...
確定! 回上一頁