From f21d76000fab1bc3f5f878a8760c7a35ad59816e Mon Sep 17 00:00:00 2001 From: Christof Petig Date: Thu, 14 Mar 2024 00:46:06 +0100 Subject: [PATCH] fix clippy --- common/state/src/plugin/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/state/src/plugin/mod.rs b/common/state/src/plugin/mod.rs index bb37436a04..d4ce8dcf0c 100644 --- a/common/state/src/plugin/mod.rs +++ b/common/state/src/plugin/mod.rs @@ -232,7 +232,7 @@ impl PluginMgr { if let Err(e) = common::assets::register_tar(path.clone()) { error!("Plugin {:?} tar error {e:?}", path.as_path()); } - let hash = plugin.hash.clone(); + let hash = plugin.hash; self.plugins.push(plugin); hash })