From e534e2502927eb58ffe1ea7ce22ed375ab7a280a Mon Sep 17 00:00:00 2001 From: brock elmore Date: Wed, 10 Jul 2024 16:34:31 -0700 Subject: [PATCH] lint --- crates/solc-expressions/src/func_call/helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/solc-expressions/src/func_call/helper.rs b/crates/solc-expressions/src/func_call/helper.rs index 0fcfad36..16ba7b5f 100644 --- a/crates/solc-expressions/src/func_call/helper.rs +++ b/crates/solc-expressions/src/func_call/helper.rs @@ -45,7 +45,7 @@ pub trait CallerHelper: AnalyzerBackend + let mut new_cvar = self.add_if_err(res)?; new_cvar.loc = Some(param.loc(self).unwrap()); new_cvar.name.clone_from(&name); - new_cvar.display_name = name.clone(); + new_cvar.display_name.clone_from(&name); new_cvar.is_tmp = false; new_cvar.storage = if let Some(StorageLocation::Storage(_)) = param.underlying(self).unwrap().storage