mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-02 18:03:01 +00:00
Fix clippy warning
This commit is contained in:
parent
3827dbfc49
commit
9a599e81a4
1 changed files with 1 additions and 5 deletions
|
@ -726,11 +726,7 @@ impl SymbolTableBuilder {
|
|||
fn scan_string_group(&mut self, group: &ast::StringGroup) -> SymbolTableResult {
|
||||
match group {
|
||||
ast::StringGroup::Constant { .. } => {}
|
||||
ast::StringGroup::FormattedValue {
|
||||
value,
|
||||
conversion: _,
|
||||
spec,
|
||||
} => {
|
||||
ast::StringGroup::FormattedValue { value, spec, .. } => {
|
||||
self.scan_expression(value, &ExpressionContext::Load)?;
|
||||
if let Some(spec) = spec {
|
||||
self.scan_string_group(spec)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue