mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-23 23:00:59 +00:00
Fix clippy
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user