mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
remove unneeded clone
This commit is contained in:
parent
c95a389c4f
commit
c7851df5f9
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ pub fn desugar_def<'a>(arena: &'a Bump, def: &'a Def<'a>) -> Def<'a> {
|
|||
}
|
||||
TypedDef(loc_pattern, loc_annotation, loc_expr)
|
||||
| Nested(TypedDef(loc_pattern, loc_annotation, loc_expr)) => TypedDef(
|
||||
loc_pattern.clone(),
|
||||
loc_pattern,
|
||||
loc_annotation.clone(),
|
||||
desugar_expr(arena, loc_expr),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue