From 0e3c5d91aba63ca4661c64bf739be9fc9bccd95d Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Thu, 14 Nov 2024 08:42:56 +0100 Subject: [PATCH] Document deletion test passes --- crates/milli/src/update/new/indexer/document_deletion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/milli/src/update/new/indexer/document_deletion.rs b/crates/milli/src/update/new/indexer/document_deletion.rs index e89b04223..353995a59 100644 --- a/crates/milli/src/update/new/indexer/document_deletion.rs +++ b/crates/milli/src/update/new/indexer/document_deletion.rs @@ -132,7 +132,7 @@ mod test { } let mut deletions = DocumentDeletion::new(); - deletions.delete_documents_by_docids(vec![0, 2, 42].into_iter().collect()); + deletions.delete_documents_by_docids(Vec::::new().into_iter().collect()); let indexer = Bump::new(); let index = TempIndex::new();