From 388f402a2609170054d17d0dd54961f857b33be9 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Thu, 5 May 2022 18:20:33 -0400 Subject: [PATCH] remove unnecessary clone (thanks, clippy!) --- compiler/constrain/src/module.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/constrain/src/module.rs b/compiler/constrain/src/module.rs index d5f2e8dafb..60700cbe35 100644 --- a/compiler/constrain/src/module.rs +++ b/compiler/constrain/src/module.rs @@ -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,