mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-10 05:24:32 +01: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,
|
compute_matches: bool,
|
||||||
displayable_ids: &BTreeSet<FieldId>,
|
displayable_ids: &BTreeSet<FieldId>,
|
||||||
) -> Result<(Option<MatchesInfo>, Document)> {
|
) -> 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();
|
let mut document = document.clone();
|
||||||
|
|
||||||
// select the attributes to retrieve
|
// select the attributes to retrieve
|
||||||
|
Loading…
x
Reference in New Issue
Block a user