Fix unnessessary while let

This commit is contained in:
Jeong YunWon committed 2021-07-30 02:32:16 +09:00
1 parent 3bc233a625
commit b2115c9009
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ impl<'a> FStringParser<'a> {
}
'"' | '\'' => {
expression.push(ch);
while let Some(next) = self.chars.next() {
for next in &mut self.chars {
expression.push(next);
if next == ch {
break;