mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08: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