more clippy things

This commit is contained in:
Folkert 2020-11-19 22:20:00 +01:00
parent e30893b66e
commit 4db48d9f13
5 changed files with 5 additions and 5 deletions

View file

@ -361,7 +361,7 @@ pub fn canonicalize_pattern<'a>(
// If we encountered an erroneous pattern (e.g. one with shadowing),
// use the resulting RuntimeError. Otherwise, return a successful record destructure.
opt_erroneous.unwrap_or_else(|| Pattern::RecordDestructure {
opt_erroneous.unwrap_or(Pattern::RecordDestructure {
whole_var,
ext_var,
destructs,