Use collect() on an iterator: let v = vec!['a', 'b', 'c', 'd']; let s: String = v.into_iter().collect(); println!("{}", s);.
確定! 回上一頁