about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/castore/src/import.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs
index 92f792bfe704..82011300fe9a 100644
--- a/tvix/castore/src/import.rs
+++ b/tvix/castore/src/import.rs
@@ -61,10 +61,10 @@ impl From<CastoreError> for Error {
 //
 // It assumes the caller adds returned nodes to the directories it assembles.
 #[instrument(skip_all, fields(entry.file_type=?&entry.file_type(),entry.path=?entry.path()))]
-async fn process_entry(
+async fn process_entry<'a>(
     blob_service: Arc<dyn BlobService>,
-    directory_putter: &mut Box<dyn DirectoryPutter>,
-    entry: &walkdir::DirEntry,
+    directory_putter: &'a mut Box<dyn DirectoryPutter>,
+    entry: &'a walkdir::DirEntry,
     maybe_directory: Option<Directory>,
 ) -> Result<Node, Error> {
     let file_type = entry.file_type();