refactor(tvix/store/directorysvc): don't borrow self mutable
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>
This commit is contained in:
parent
dbb4d5e5b2
commit
ca06f7061c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ use tracing::{instrument, warn};
|
||||||
/// clearly distinguish it from the BFS traversers.
|
/// clearly distinguish it from the BFS traversers.
|
||||||
#[instrument(skip(directory_service))]
|
#[instrument(skip(directory_service))]
|
||||||
pub fn traverse_to<DS: DirectoryService>(
|
pub fn traverse_to<DS: DirectoryService>(
|
||||||
directory_service: &mut DS,
|
directory_service: &DS,
|
||||||
node: crate::proto::node::Node,
|
node: crate::proto::node::Node,
|
||||||
path: &std::path::Path,
|
path: &std::path::Path,
|
||||||
) -> Result<Option<crate::proto::node::Node>, Error> {
|
) -> Result<Option<crate::proto::node::Node>, Error> {
|
||||||
|
|
Loading…
Reference in a new issue