[pbs-devel] [PATCH v3 pxar 1/6] accessor: fix minor formatting issue
Christian Ebner
c.ebner at proxmox.com
Wed Jun 12 10:23:55 CEST 2024
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
changes since version 2:
- not present
src/accessor/mod.rs | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/accessor/mod.rs b/src/accessor/mod.rs
index 1c9e30f..92d689d 100644
--- a/src/accessor/mod.rs
+++ b/src/accessor/mod.rs
@@ -194,11 +194,8 @@ impl<T: ReadAt> AccessorImpl<T> {
header.check_header_size()?;
if header.htype == format::PXAR_FORMAT_VERSION {
- let version: u64 = read_entry_at(
- input.archive(),
- size_of::<format::Header>() as u64,
- )
- .await?;
+ let version: u64 =
+ read_entry_at(input.archive(), size_of::<format::Header>() as u64).await?;
FormatVersion::deserialize(version)?;
}
--
2.39.2
More information about the pbs-devel
mailing list