AFAIK you can't do that with a for loop. You will need to desugar it by hand: let mut it = text.chars(); while let Some(char) = it.next() ...
確定! 回上一頁