Fix clippy warning

This commit is contained in:
Aviv Palivoda 2019-12-27 10:27:51 +02:00
parent 3827dbfc49
commit 9a599e81a4

View file

@ -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)?;