about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-05-23T11·09+0300
committerflokli <flokli@flokli.de>2023-05-23T12·28+0000
commit79bbf25cb26a70ec176151223f94d5b3b35f9faf (patch)
tree5b2e5c2d39aae8f039e8cd6b21dcda06545ecdb5
parent4dd954f8f5c025aaebf0b1dede1e7b99f47550f5 (diff)
refactor(tvix/store/nar): clippy r/6181
Change-Id: I0d864fd1b9248fe4d5c88e3d8fa396ea759fea09
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8616
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
-rw-r--r--tvix/store/src/nar/renderer.rs2
1 files changed, 1 insertions, 1 deletions
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<BS: BlobService, DS: DirectoryService> NARRenderer<BS, DS> {
                 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(