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)]