about summary refs log tree commit diff
path: root/tvix/store/src/proto/mod.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-16T10·42+0100
committerflokli <flokli@flokli.de>2023-10-16T11·13+0000
commit72872785b4465878cda182e86c1cc46ae0461b5a (patch)
tree1c8a759a989a9d055d232b6e4b52de6a623e4fb8 /tvix/store/src/proto/mod.rs
parent1a3c6100815dd6ca783666a469959d72245d5da1 (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 '')
-rw-r--r--tvix/store/src/proto/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/proto/mod.rs b/tvix/store/src/proto/mod.rs
index 4ebd4a3190..a982d71f88 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)?
             }