mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44:27 +01:00
Fix clippy
This commit is contained in:
parent
00b0a00fc5
commit
ec3140a29e
@ -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…
Reference in New Issue
Block a user