mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-22 19:42:31 +00:00
Get rid of another clone
This commit is contained in:
parent
0b8ac07287
commit
83e35fa40d
1 changed files with 1 additions and 1 deletions
|
@ -1632,7 +1632,7 @@ fn constrain_function_def(
|
|||
let defs_constraint = constraints.and_constraint(argument_pattern_state.constraints);
|
||||
|
||||
let signature_closure_type = *signature_closure_type.clone();
|
||||
let signature_index = constraints.push_type(signature.clone());
|
||||
let signature_index = constraints.push_type(signature);
|
||||
let cons = [
|
||||
constraints.let_constraint(
|
||||
[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue