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