fix clippy

This commit is contained in:
Christof Petig 2024-03-14 00:46:06 +01:00
parent f0194e6d9b
commit f21d76000f

View File

@ -232,7 +232,7 @@ impl PluginMgr {
if let Err(e) = common::assets::register_tar(path.clone()) { if let Err(e) = common::assets::register_tar(path.clone()) {
error!("Plugin {:?} tar error {e:?}", path.as_path()); error!("Plugin {:?} tar error {e:?}", path.as_path());
} }
let hash = plugin.hash.clone(); let hash = plugin.hash;
self.plugins.push(plugin); self.plugins.push(plugin);
hash hash
}) })