From 37c9ebc9ee73a5980a21b337fc7ff8ebec682df8 Mon Sep 17 00:00:00 2001 From: Sorin Petreasca Date: Tue, 19 Sep 2023 16:58:49 +0300 Subject: [PATCH] clippy fix --- farm-staking/farm-staking-proxy/src/proxy_actions/unstake.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/farm-staking/farm-staking-proxy/src/proxy_actions/unstake.rs b/farm-staking/farm-staking-proxy/src/proxy_actions/unstake.rs index f17fb26b7..920b96eb0 100644 --- a/farm-staking/farm-staking-proxy/src/proxy_actions/unstake.rs +++ b/farm-staking/farm-staking-proxy/src/proxy_actions/unstake.rs @@ -32,7 +32,7 @@ pub trait ProxyUnstakeModule: dual_yield_token_mapper.get_token_attributes(payment.token_nonce); let exit_attributes: DualYieldTokenAttributes = - full_attributes.clone().into_part(&payment.amount); + full_attributes.into_part(&payment.amount); let lp_farm_exit_result = self.lp_farm_exit( orig_caller.clone(),