From 1880d1059e623a9201e90e5fef497e0232593cb6 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Mon, 25 Aug 2025 13:10:52 -0300 Subject: [PATCH] fix: remove unused mutability from meta_plugin variables Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) --- src/common/status.rs | 2 +- src/modes/common.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;