From 79bbf25cb26a70ec176151223f94d5b3b35f9faf Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 23 May 2023 14:09:41 +0300 Subject: refactor(tvix/store/nar): clippy Change-Id: I0d864fd1b9248fe4d5c88e3d8fa396ea759fea09 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8616 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: tazjin --- tvix/store/src/nar/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvix/store/src/nar/renderer.rs b/tvix/store/src/nar/renderer.rs index 1804674fc44a..c10f2ddf52fa 100644 --- a/tvix/store/src/nar/renderer.rs +++ b/tvix/store/src/nar/renderer.rs @@ -70,7 +70,7 @@ impl NARRenderer { let mut blob_reader = match self .blob_service .open_read(&digest) - .map_err(|e| RenderError::StoreError(e))? + .map_err(RenderError::StoreError)? { Some(blob_reader) => Ok(BufReader::new(blob_reader)), None => Err(RenderError::NARWriterError(io::Error::new( -- cgit 1.4.1