From 54e23a29b3ed052caec85b5322d005a57bdd3ac0 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 29 Dec 2025 14:29:29 -0500 Subject: [PATCH] Fix warnings --- src/files.rs | 3 +-- src/tags.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/files.rs b/src/files.rs index a23b226..b75b09a 100644 --- a/src/files.rs +++ b/src/files.rs @@ -855,7 +855,7 @@ mod tests { } } - fn move_file>(&self, from: P, destination: P) -> anyhow::Result<()> { + fn move_file>(&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; diff --git a/src/tags.rs b/src/tags.rs index 4e83a70..f0b7df6 100644 --- a/src/tags.rs +++ b/src/tags.rs @@ -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)]