diff --git a/grovedb/src/batch.rs b/grovedb/src/batch.rs index d97d77cd0..b1ca058d6 100644 --- a/grovedb/src/batch.rs +++ b/grovedb/src/batch.rs @@ -292,7 +292,7 @@ trait TreeCache { impl<'db, S, F> TreeCacheMerkByPath where - F: Fn(&[Vec]) -> CostResult, Error>, + F: FnMut(&[Vec]) -> CostResult, Error>, S: StorageContext<'db>, { fn follow_reference<'a>(