mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix unnessessary while let
This commit is contained in:
1 parent
3bc233a625
commit
b2115c9009
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user