]> git.proxmox.com Git - pxar.git/commitdiff
trivial clippy fixes
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Jul 2022 12:36:43 +0000 (14:36 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Jul 2022 12:36:43 +0000 (14:36 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/accessor/mod.rs

index 5ed351a8cbc410c5881b637d72c0eb1b527a8b9e..6a2de7327225d823442f1b9b736f2375223df03e 100644 (file)
@@ -228,7 +228,7 @@ async fn get_decoder<T: ReadAt>(
     entry_range: Range<u64>,
     path: PathBuf,
 ) -> io::Result<DecoderImpl<SeqReadAtAdapter<T>>> {
-    Ok(DecoderImpl::new_full(SeqReadAtAdapter::new(input, entry_range), path, true).await?)
+    DecoderImpl::new_full(SeqReadAtAdapter::new(input, entry_range), path, true).await
 }
 
 // NOTE: This performs the Decoder::read_next_item() behavior! Keep in mind when changing!