[Auto] lib/domain/todo: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
601dd405b6
commit
532564e9eb
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ impl<'a> TaskStore<'a> for Store {
|
||||||
// Here we check if the status of a task is deleted and if yes, we delete it
|
// Here we check if the status of a task is deleted and if yes, we delete it
|
||||||
// from the store.
|
// from the store.
|
||||||
if *ttask.status() == TaskStatus::Deleted {
|
if *ttask.status() == TaskStatus::Deleted {
|
||||||
let _ = self.delete_task_by_uuid(*ttask.uuid())?;
|
self.delete_task_by_uuid(*ttask.uuid())?;
|
||||||
info!("Deleted task {}", *ttask.uuid());
|
info!("Deleted task {}", *ttask.uuid());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ impl<'a> TaskStore<'a> for Store {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn all_tasks(&self) -> Result<TaskIdIterator> {
|
fn all_tasks(&self) -> Result<TaskIdIterator> {
|
||||||
self.entries().map(|i| TaskIdIterator::new(i))
|
self.entries().map(TaskIdIterator::new)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn new_from_twtask(&'a self, task: TTask) -> Result<FileLockEntry<'a>> {
|
fn new_from_twtask(&'a self, task: TTask) -> Result<FileLockEntry<'a>> {
|
||||||
|
|
Loading…
Reference in a new issue