Update meilisearch-http/src/index/search.rs

Co-authored-by: marin <postma.marin@protonmail.com>
This commit is contained in:
Clémentine Urquizar 2021-07-28 12:08:36 +02:00 committed by GitHub
parent feb069f604
commit f9d337b320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,7 +382,7 @@ fn add_crop_to_formatted_options(
fn add_non_formatted_ids_to_formatted_options(
formatted_options: &mut BTreeMap<FieldId, FormatOptions>,
to_retrieve_ids: &BTreeSet<u16>,
to_retrieve_ids: &BTreeSet<FieldId>,
) {
for id in to_retrieve_ids {
formatted_options.entry(*id).or_insert(FormatOptions {