refactor: update function parameters to use references where appropriate

This commit is contained in:
Andrew Phillips
2025-05-14 22:09:23 -03:00
committed by Andrew Phillips (aider)
parent d1edd20845
commit dd8f828ed3
10 changed files with 21 additions and 21 deletions

View File

@@ -16,7 +16,7 @@ use prettytable::{Attr, Cell, Row, Table};
pub fn mode_info(
cmd: &mut Command,
args: crate::Args,
args: &crate::Args,
ids: &mut Vec<i64>,
tags: &mut Vec<String>,
conn: &mut rusqlite::Connection,
@@ -50,7 +50,7 @@ pub fn mode_info(
fn show_item(
item: Item, // Using the provided struct definition
args: crate::Args,
args: &crate::Args,
conn: &mut rusqlite::Connection,
data_path: PathBuf,
) -> anyhow::Result<()> {