mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
more clippy things
This commit is contained in:
parent
e30893b66e
commit
4db48d9f13
5 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue