mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Fix clippy
This commit is contained in:
parent
00b0a00fc5
commit
ec3140a29e
1 changed files with 1 additions and 4 deletions
|
@ -213,10 +213,7 @@ impl Index {
|
|||
None => None,
|
||||
};
|
||||
|
||||
let exhaustive_facets_count = match facets_distribution {
|
||||
Some(_) => Some(false), // not implemented yet
|
||||
None => None
|
||||
};
|
||||
let exhaustive_facets_count = facets_distribution.as_ref().map(|_| false); // not implemented yet
|
||||
|
||||
let result = SearchResult {
|
||||
exhaustive_nb_hits: false, // not implemented yet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue