mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 08:35:15 +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 {
|
||||
Some(filter) => filter
|
||||
.pass(&task)
|
||||
.then(|| task)
|
||||
.then_some(task)
|
||||
.ok_or(TaskError::UnexistingTask(id)),
|
||||
None => Ok(task),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user