mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Fix clippy
This commit is contained in:
parent
3517eae47f
commit
50763aac82
@ -446,7 +446,7 @@ fn format_fields<'a, A: AsRef<[u8]>>(
|
||||
compute_matches: bool,
|
||||
displayable_ids: &BTreeSet<FieldId>,
|
||||
) -> Result<(Option<MatchesInfo>, Document)> {
|
||||
let mut matches = compute_matches.then(|| BTreeMap::new());
|
||||
let mut matches = compute_matches.then(BTreeMap::new);
|
||||
let mut document = document.clone();
|
||||
|
||||
// select the attributes to retrieve
|
||||
|
Loading…
Reference in New Issue
Block a user