mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Unnecessary clone
This commit is contained in:
parent
8b42300933
commit
70adb39483
1 changed files with 1 additions and 1 deletions
|
@ -1956,7 +1956,7 @@ fn constrain_function_def(
|
|||
);
|
||||
|
||||
let return_type_annotation_expected = constraints.push_expected_type(FromAnnotation(
|
||||
loc_pattern.clone(),
|
||||
loc_pattern,
|
||||
arity,
|
||||
AnnotationSource::TypedBody {
|
||||
region: annotation.region,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue