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.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tvix/store/src/tests/utils.rs b/tvix/store/src/tests/utils.rs
index 6905fe56b5d7..285db449d36d 100644
--- a/tvix/store/src/tests/utils.rs
+++ b/tvix/store/src/tests/utils.rs
@@ -8,13 +8,13 @@ pub fn gen_blob_service() -> Box<dyn BlobService> {
     Box::new(MemoryBlobService::default())
 }
 
-pub fn gen_directory_service() -> impl DirectoryService + Send + Sync + Clone + 'static {
-    MemoryDirectoryService::default()
+pub fn gen_directory_service() -> Box<dyn DirectoryService> {
+    Box::new(MemoryDirectoryService::default())
 }
 
-pub fn gen_pathinfo_service<DS: DirectoryService + Clone>(
+pub fn gen_pathinfo_service(
     blob_service: Box<dyn BlobService>,
-    directory_service: DS,
+    directory_service: Box<dyn DirectoryService>,
 ) -> impl PathInfoService {
     MemoryPathInfoService::new(blob_service, directory_service)
 }