mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Make clippy happy
This commit is contained in:
parent
2827ff7957
commit
135f656e8f
@ -117,7 +117,7 @@ impl TaskStore {
|
|||||||
match filter {
|
match filter {
|
||||||
Some(filter) => filter
|
Some(filter) => filter
|
||||||
.pass(&task)
|
.pass(&task)
|
||||||
.then(|| task)
|
.then_some(task)
|
||||||
.ok_or(TaskError::UnexistingTask(id)),
|
.ok_or(TaskError::UnexistingTask(id)),
|
||||||
None => Ok(task),
|
None => Ok(task),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user