refactor: update function parameters to use references where appropriate
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
d1edd20845
commit
dd8f828ed3
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user