mirror of
https://git.proxmox.com/git/pxar
synced 2025-04-30 13:20:22 +00:00
run cargo fmt
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
ae6c050a4f
commit
cafb4d24b0
@ -297,10 +297,7 @@ impl<I: SeqRead> DecoderImpl<I> {
|
|||||||
// hierarchy and parse the next PXAR_FILENAME or the PXAR_GOODBYE:
|
// hierarchy and parse the next PXAR_FILENAME or the PXAR_GOODBYE:
|
||||||
self.read_next_item().await?;
|
self.read_next_item().await?;
|
||||||
}
|
}
|
||||||
State::InPayload {
|
State::InPayload { offset, .. } => {
|
||||||
offset,
|
|
||||||
..
|
|
||||||
} => {
|
|
||||||
if self.input.payload().is_some() {
|
if self.input.payload().is_some() {
|
||||||
// Update consumed payload as given by the offset referenced by the content reader
|
// Update consumed payload as given by the offset referenced by the content reader
|
||||||
self.payload_consumed += offset;
|
self.payload_consumed += offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user