fix: resolve compilation errors by fixing mutable references and removing unused imports

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-10 00:23:58 -03:00
parent cacf843da7
commit 469e3640b8
4 changed files with 3 additions and 4 deletions

View File

@@ -240,7 +240,7 @@ pub fn mode_save(
setup_item_metadata(conn, args, &item, tags)?; // Pass mutable reference
// Use a transaction for database operations to ensure atomicity
let tx = conn.transaction()?;
let mut tx = conn.transaction()?;
let item_meta = collect_item_meta(args);
let item_id = item.id.ok_or_else(|| anyhow!("Item missing ID"))?;