From fa6f495662aaa3dbe37c63e2f3d943b1d07e7d81 Mon Sep 17 00:00:00 2001 From: Tamo Date: Mon, 25 Apr 2022 18:32:06 +0200 Subject: [PATCH] fix the indexing fuzzer --- milli/fuzz/fuzz_targets/indexing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/fuzz/fuzz_targets/indexing.rs b/milli/fuzz/fuzz_targets/indexing.rs index fc51f969a..b618aabad 100644 --- a/milli/fuzz/fuzz_targets/indexing.rs +++ b/milli/fuzz/fuzz_targets/indexing.rs @@ -39,7 +39,7 @@ fn index_documents( let mut wtxn = index.write_txn()?; let indexing_config = IndexDocumentsConfig::default(); - let mut builder = IndexDocuments::new(&mut wtxn, &index, &config, indexing_config, |_| ()); + let mut builder = IndexDocuments::new(&mut wtxn, &index, &config, indexing_config, |_| ())?; builder.add_documents(documents)?; builder.execute().unwrap();