remove unnecessary clone (thanks, clippy!)

This commit is contained in:
Richard Feldman 2022-05-05 18:20:33 -04:00
parent 77a1f644a4
commit 388f402a26
No known key found for this signature in database
GPG Key ID: 7E4127D1E4241798

View File

@ -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,