about summary refs log tree commit diff
path: root/tvix/store/src/tests/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/tests/utils.rs')
-rw-r--r--tvix/store/src/tests/utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/tests/utils.rs b/tvix/store/src/tests/utils.rs
index 171919e4e777..9ccd3dcc65b7 100644
--- a/tvix/store/src/tests/utils.rs
+++ b/tvix/store/src/tests/utils.rs
@@ -17,6 +17,6 @@ pub fn gen_directory_service() -> Arc<dyn DirectoryService> {
 pub fn gen_pathinfo_service(
     blob_service: Arc<dyn BlobService>,
     directory_service: Arc<dyn DirectoryService>,
-) -> impl PathInfoService {
-    MemoryPathInfoService::new(blob_service, directory_service)
+) -> Arc<dyn PathInfoService> {
+    Arc::new(MemoryPathInfoService::new(blob_service, directory_service))
 }