Fix warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user