about summary refs log tree commit diff
path: root/tvix/glue/src/tvix_store_io.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-09T09·14+0200
committerclbot <clbot@tvl.fyi>2024-01-09T14·15+0000
commit0009383c073169c5475168a3088452b80e0b8060 (patch)
tree70ee56faa15f38624c51fa0e04df96a014161d72 /tvix/glue/src/tvix_store_io.rs
parentb1c556b7e190035e63d7ddf142b7517c2425f806 (diff)
refactor(tvix/castore/directorysvc): AsRef traverse_to r/7361
Change-Id: I641bd4ab3de591a013f03137f1e16295946315f3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10579
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/glue/src/tvix_store_io.rs')
-rw-r--r--tvix/glue/src/tvix_store_io.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tvix/glue/src/tvix_store_io.rs b/tvix/glue/src/tvix_store_io.rs
index 56e3feb674f3..178bf6c77788 100644
--- a/tvix/glue/src/tvix_store_io.rs
+++ b/tvix/glue/src/tvix_store_io.rs
@@ -92,8 +92,7 @@ where
         // with the root_node and sub_path, descend to the node requested.
         Ok(self.tokio_handle.block_on({
             async {
-                directoryservice::descend_to(self.directory_service.as_ref(), root_node, sub_path)
-                    .await
+                directoryservice::descend_to(&self.directory_service, root_node, sub_path).await
             }
         })?)
     }