5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2025-03-11 20:58:47 +03:00

run cargo fmt

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2024-11-26 10:31:10 +01:00
parent ae6c050a4f
commit cafb4d24b0

View File

@ -297,10 +297,7 @@ impl<I: SeqRead> DecoderImpl<I> {
// hierarchy and parse the next PXAR_FILENAME or the PXAR_GOODBYE:
self.read_next_item().await?;
}
State::InPayload {
offset,
..
} => {
State::InPayload { offset, .. } => {
if self.input.payload().is_some() {
// Update consumed payload as given by the offset referenced by the content reader
self.payload_consumed += offset;