diff --git a/milli/src/update/index_documents/extract/extract_docid_word_positions.rs b/milli/src/update/index_documents/extract/extract_docid_word_positions.rs index b56398385..67270bc52 100644 --- a/milli/src/update/index_documents/extract/extract_docid_word_positions.rs +++ b/milli/src/update/index_documents/extract/extract_docid_word_positions.rs @@ -55,11 +55,9 @@ pub fn extract_docid_word_positions( tokenizer_builder.stop_words(stop_words); } if let Some(dictionary) = dictionary { - // let dictionary: Vec<_> = dictionary.iter().map(String::as_str).collect(); tokenizer_builder.words_dict(dictionary.as_slice()); } if let Some(separators) = allowed_separators { - // let separators: Vec<_> = separators.iter().map(String::as_str).collect(); tokenizer_builder.separators(separators.as_slice()); } let tokenizer = tokenizer_builder.build();