diff options
author | Florian Klink <flokli@flokli.de> | 2023-10-16T10·42+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-10-16T11·13+0000 |
commit | 72872785b4465878cda182e86c1cc46ae0461b5a (patch) | |
tree | 1c8a759a989a9d055d232b6e4b52de6a623e4fb8 /tvix/store/src | |
parent | 1a3c6100815dd6ca783666a469959d72245d5da1 (diff) |
refactor(tvix/store): clippy r/6826
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
Diffstat (limited to 'tvix/store/src')
-rw-r--r-- | tvix/store/src/proto/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/proto/mod.rs b/tvix/store/src/proto/mod.rs index 4ebd4a31908f..a982d71f8886 100644 --- a/tvix/store/src/proto/mod.rs +++ b/tvix/store/src/proto/mod.rs @@ -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)? } |