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:28 +02:00 committed by GitHub
parent 7e0eed5772
commit feb069f604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,7 @@ fn add_crop_to_formatted_options(
attr_to_crop: &[String], attr_to_crop: &[String],
crop_length: usize, crop_length: usize,
fields_ids_map: &FieldsIdsMap, fields_ids_map: &FieldsIdsMap,
displayed_ids: &BTreeSet<u16>, displayed_ids: &BTreeSet<FieldId>,
) { ) {
for attr in attr_to_crop { for attr in attr_to_crop {
let mut split = attr.rsplitn(2, ':'); let mut split = attr.rsplitn(2, ':');