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:
parent
ae6c050a4f
commit
cafb4d24b0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user