From a989f52657c83899025e6dc794fb66788007de93 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 1 Sep 2025 16:38:39 +0200 Subject: [PATCH] Fix signature of backend change function --- crates/milli/src/vector/store.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/milli/src/vector/store.rs b/crates/milli/src/vector/store.rs index 908c73ca5..037c0d565 100644 --- a/crates/milli/src/vector/store.rs +++ b/crates/milli/src/vector/store.rs @@ -119,10 +119,10 @@ impl VectorStore { &mut self, wtxn: &mut RwTxn, progress: Progress, - must_stop_processing: MSP, + must_stop_processing: &MSP, ) -> crate::Result<()> where - MSP: Fn() -> bool + Sync + Send, + MSP: Fn() -> bool + Sync, { if self.backend == VectorStoreBackend::Arroy { self.backend = VectorStoreBackend::Hannoy;