From 30741d17fa997806cc1bd61c9d44c754e9becd7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 27 Jun 2023 12:30:44 +0200 Subject: [PATCH] Change the TODO message --- milli/src/update/index_documents/typed_chunk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/index_documents/typed_chunk.rs b/milli/src/update/index_documents/typed_chunk.rs index 915bb2299..3f197fbd1 100644 --- a/milli/src/update/index_documents/typed_chunk.rs +++ b/milli/src/update/index_documents/typed_chunk.rs @@ -249,7 +249,7 @@ pub(crate) fn write_typed_chunk_into_index( // convert the vector back to a Vec let vector: Vec = pod_collect_to_vec(value); - // TODO Move this error in the vector extractor + // TODO Inform the user about the document that has a wrong `_vectors` let found = vector.len(); let expected = *expected_dimensions.get_or_insert(found); if expected != found {