From 72872785b4465878cda182e86c1cc46ae0461b5a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 16 Oct 2023 11:42:00 +0100 Subject: refactor(tvix/store): clippy Change-Id: I31ba268bda21c1f07c63520a269dd62f7b309e99 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9748 Reviewed-by: raitobezarius Autosubmit: flokli Tested-by: BuildkiteCI --- tvix/store/src/proto/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)? } -- cgit 1.4.1