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;