mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 16:45:30 +08:00
Merge #2831
2831: Make clippy happy r=curquiza a=Kerollmops Co-authored-by: Kerollmops <clement@meilisearch.com>
This commit is contained in:
commit
a93eec1d34
@ -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