diff options
Diffstat (limited to 'tvix/castore/src/directoryservice/traverse.rs')
-rw-r--r-- | tvix/castore/src/directoryservice/traverse.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/castore/src/directoryservice/traverse.rs b/tvix/castore/src/directoryservice/traverse.rs index 5289751e50dc..1d1de6e18faa 100644 --- a/tvix/castore/src/directoryservice/traverse.rs +++ b/tvix/castore/src/directoryservice/traverse.rs @@ -86,7 +86,9 @@ where #[cfg(test)] mod tests { use std::path::PathBuf; + use std::sync::Arc; + use crate::directoryservice::DirectoryService; use crate::fixtures::{DIRECTORY_COMPLICATED, DIRECTORY_WITH_KEEP}; use crate::utils::gen_directory_service; @@ -94,7 +96,7 @@ mod tests { #[tokio::test] async fn test_descend_to() { - let directory_service = gen_directory_service(); + let directory_service: Arc<dyn DirectoryService> = gen_directory_service().into(); let mut handle = directory_service.put_multiple_start(); handle |