meilisearch-rust
meilisearch-rust copied to clipboard
Why does `attributes_to_crop` has a different prototype than `attributes_to_highlight`
attributes_to_crop and attributes_to_highlight have the same type as per the documentation
https://github.com/meilisearch/meilisearch-rust/blob/0d1a82e55a84dd65a417b5a8414bc3839f7b5245/src/search.rs#L175
and here
https://github.com/meilisearch/meilisearch-rust/blob/0d1a82e55a84dd65a417b5a8414bc3839f7b5245/src/search.rs#L187
I was wondering if there was another reason why these two attributes have different types?