mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
remove unnecessary clone (thanks, clippy!)
This commit is contained in:
parent
77a1f644a4
commit
388f402a26
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ fn constrain_symbols_from_requires(
|
|||
let pattern = Loc::at_zero(roc_can::pattern::Pattern::Identifier(loc_symbol.value));
|
||||
|
||||
let def_pattern_state =
|
||||
constrain_def_pattern(constraints, &env, &pattern, loc_type.value.clone());
|
||||
constrain_def_pattern(constraints, &env, &pattern, loc_type.value);
|
||||
|
||||
constrain_def_make_constraint(
|
||||
constraints,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue