diff options
author | Florian Klink <flokli@flokli.de> | 2023-05-25T05·25+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-05-25T10·48+0000 |
commit | ca06f7061ca298244fcd61d9c957b3590f40f59f (patch) | |
tree | 54d7e345dd4bc2c96d02323cbec08c06ed0ce105 /tvix/store | |
parent | dbb4d5e5b2842ccc134ac29ad28f3b60ad4a3341 (diff) |
refactor(tvix/store/directorysvc): don't borrow self mutable r/6199
Change-Id: I97f183e1ef3b1209a8f05e05e152f70d1f7a9596 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8628 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store')
-rw-r--r-- | tvix/store/src/directoryservice/traverse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/directoryservice/traverse.rs b/tvix/store/src/directoryservice/traverse.rs index f6193f091817..8691baa8b73f 100644 --- a/tvix/store/src/directoryservice/traverse.rs +++ b/tvix/store/src/directoryservice/traverse.rs @@ -11,7 +11,7 @@ use tracing::{instrument, warn}; /// clearly distinguish it from the BFS traversers. #[instrument(skip(directory_service))] pub fn traverse_to<DS: DirectoryService>( - directory_service: &mut DS, + directory_service: &DS, node: crate::proto::node::Node, path: &std::path::Path, ) -> Result<Option<crate::proto::node::Node>, Error> { |