clippy fix

This commit is contained in:
Kasey White 2023-01-08 18:22:26 -05:00 committed by Lucas
parent 42c8d50fa1
commit ce2de96226
1 changed files with 1 additions and 1 deletions

View File

@ -1729,7 +1729,7 @@ impl<'a> CodeGenerator<'a> {
Pattern::Var { name, .. } => { Pattern::Var { name, .. } => {
names.push(name.clone()); names.push(name.clone());
} }
Pattern::Discard { name, location } => { Pattern::Discard { .. } => {
names.push("_".to_string()); names.push("_".to_string());
} }
a @ Pattern::List { .. } => { a @ Pattern::List { .. } => {