refactor(tvix/store): clippy
Change-Id: I31ba268bda21c1f07c63520a269dd62f7b309e99 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9748 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
1a3c610081
commit
72872785b4
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ impl PathInfo {
|
|||
}
|
||||
Some(castorepb::Node { node: Some(node) }) => {
|
||||
node.validate()
|
||||
.map_err(|e| ValidatePathInfoError::InvalidRootNode(e))?;
|
||||
.map_err(ValidatePathInfoError::InvalidRootNode)?;
|
||||
// parse the name of the node itself and return
|
||||
parse_node_name_root(node.get_name(), ValidatePathInfoError::InvalidNodeName)?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue