Skip to content

Commit f690238

Browse files
committed
fix: remove unnecesary mut
1 parent 85733bc commit f690238

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

refact-agent/engine/src/tools/tools_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async fn get_builtin_tools(
8181
let config_dir = gcx.read().await.config_dir.clone();
8282
let config_path = config_dir.join("builtin_tools.yaml").to_string_lossy().to_string();
8383

84-
let mut codebase_search_tools: Vec<Box<dyn Tool + Send>> = vec![
84+
let codebase_search_tools: Vec<Box<dyn Tool + Send>> = vec![
8585
Box::new(crate::tools::tool_ast_definition::ToolAstDefinition{config_path: config_path.clone()}),
8686
Box::new(crate::tools::tool_ast_reference::ToolAstReference{config_path: config_path.clone()}),
8787
Box::new(crate::tools::tool_tree::ToolTree{config_path: config_path.clone()}),

0 commit comments

Comments
 (0)