mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
make clippy happy
This commit is contained in:
parent
6dbde806d6
commit
8870776fb0
1 changed files with 3 additions and 3 deletions
|
@ -514,8 +514,8 @@ fn to_def<'a>(
|
|||
(ann_pattern, ann_type),
|
||||
Some((opt_comment, (body_pattern, body_expr))),
|
||||
)) => Def::AnnotatedBody {
|
||||
ann_pattern: ann_pattern,
|
||||
ann_type: ann_type,
|
||||
ann_pattern,
|
||||
ann_type,
|
||||
comment: opt_comment,
|
||||
body_pattern: arena.alloc(body_pattern),
|
||||
body_expr: arena.alloc(body_expr),
|
||||
|
@ -858,7 +858,7 @@ fn parse_def_signature<'a>(
|
|||
body_pattern: arena.alloc(body_pattern),
|
||||
body_expr: arena.alloc(body_expr),
|
||||
},
|
||||
region: region,
|
||||
region,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue