mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
now conversion flags can be followed by a format specifier and added tests
This commit is contained in:
1 parent
c25353c083
commit
e7ec972ab7
2 files changed
+16
-10
No files matched your search
@@ -73,10 +73,6 @@ impl<'a> FStringParser<'a> {
|
||||
return Err(ExpectedRbrace);
|
||||
}
|
||||
});
|
||||
|
||||
if self.chars.peek() != Some(&'}') {
|
||||
return Err(ExpectedRbrace);
|
||||
}
|
||||
}
|
||||
|
||||
// match a python 3.8 self documenting expression
|
||||
|
||||
Reference in new issue
Block a user