diff --git a/src/common/status.rs b/src/common/status.rs index 4271903..7c9f7fc 100644 --- a/src/common/status.rs +++ b/src/common/status.rs @@ -101,7 +101,7 @@ pub fn generate_status_info( for meta_plugin_type in sorted_meta_plugins { log::debug!("STATUS: Processing meta plugin type: {:?}", meta_plugin_type); log::debug!("STATUS: About to call get_meta_plugin"); - let mut meta_plugin = meta_plugin::get_meta_plugin(meta_plugin_type.clone()); + let meta_plugin = meta_plugin::get_meta_plugin(meta_plugin_type.clone()); log::debug!("STATUS: Created meta plugin instance"); let is_supported = meta_plugin.is_supported(); log::debug!("STATUS: Checked is_supported: {}", is_supported); diff --git a/src/modes/common.rs b/src/modes/common.rs index 6dda253..194d7b7 100644 --- a/src/modes/common.rs +++ b/src/modes/common.rs @@ -128,7 +128,7 @@ pub fn settings_meta_plugin_types(cmd: &mut Command, settings: &config::Settings // Try to find the MetaPluginType by meta name let mut found = false; for meta_plugin_type in MetaPluginType::iter() { - let mut meta_plugin = crate::meta_plugin::get_meta_plugin(meta_plugin_type.clone()); + let meta_plugin = crate::meta_plugin::get_meta_plugin(meta_plugin_type.clone()); if meta_plugin.meta_name() == trimmed_name { meta_plugin_types.push(meta_plugin_type); found = true;