fix: remove unused mutability from meta_plugin variables

Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-25 13:10:52 -03:00
parent ee0545b739
commit 1880d1059e
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ pub fn generate_status_info(
for meta_plugin_type in sorted_meta_plugins { for meta_plugin_type in sorted_meta_plugins {
log::debug!("STATUS: Processing meta plugin type: {:?}", meta_plugin_type); log::debug!("STATUS: Processing meta plugin type: {:?}", meta_plugin_type);
log::debug!("STATUS: About to call get_meta_plugin"); 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"); log::debug!("STATUS: Created meta plugin instance");
let is_supported = meta_plugin.is_supported(); let is_supported = meta_plugin.is_supported();
log::debug!("STATUS: Checked is_supported: {}", is_supported); log::debug!("STATUS: Checked is_supported: {}", is_supported);

View File

@@ -128,7 +128,7 @@ pub fn settings_meta_plugin_types(cmd: &mut Command, settings: &config::Settings
// Try to find the MetaPluginType by meta name // Try to find the MetaPluginType by meta name
let mut found = false; let mut found = false;
for meta_plugin_type in MetaPluginType::iter() { 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 { if meta_plugin.meta_name() == trimmed_name {
meta_plugin_types.push(meta_plugin_type); meta_plugin_types.push(meta_plugin_type);
found = true; found = true;