I would actually recommend writing this as a normal for loop, using the char_indices iterator: pub fn split(input: &str) -> Vec<String> { let mut bits: ...
確定! 回上一頁