Fix warnings

This commit is contained in:
Cameron
2025-12-29 14:29:29 -05:00
parent 9cb923df9e
commit 54e23a29b3
2 changed files with 2 additions and 3 deletions

View File

@@ -855,7 +855,7 @@ mod tests {
}
}
fn move_file<P: AsRef<Path>>(&self, from: P, destination: P) -> anyhow::Result<()> {
fn move_file<P: AsRef<Path>>(&self, _from: P, _destination: P) -> anyhow::Result<()> {
todo!()
}
}
@@ -997,7 +997,6 @@ mod tests {
testhelpers::BodyReader,
};
use crate::database::SqliteExifDao;
use crate::database::test::in_memory_db_connection;
use crate::tags::SqliteTagDao;
use actix_web::test::TestRequest;

View File

@@ -918,7 +918,7 @@ mod tests {
}
}
#[derive(QueryableByName, Debug, Clone)]
pub(crate) struct FileWithTagCount {
pub struct FileWithTagCount {
#[diesel(sql_type = Text)]
pub(crate) file_name: String,
#[diesel(sql_type = BigInt)]