mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
remove unnecessary clone (thanks, clippy!)
This commit is contained in:
parent
77a1f644a4
commit
388f402a26
@ -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…
Reference in New Issue
Block a user