mirror of
git://git.proxmox.com/git/pxar.git
synced 2025-03-19 22:50:36 +03:00
encoder: fix two typos in comments
Signed-off-by: Christian Ebner <c.ebner@proxmox.com> (cherry picked from commit 237917b7416faaf87f7edb50be0084ea490efe4d)
This commit is contained in:
parent
f301ce72ce
commit
a195608019
@ -166,7 +166,7 @@ where
|
||||
seq_write_all(output, &[0u8], position).await
|
||||
}
|
||||
|
||||
/// Write a pxar entry consiting of an endian-swappable struct.
|
||||
/// Write a pxar entry consisting of an endian-swappable struct.
|
||||
async fn seq_write_pxar_struct_entry<E, T>(
|
||||
output: &mut T,
|
||||
htype: u64,
|
||||
@ -188,7 +188,7 @@ where
|
||||
pub enum EncodeError {
|
||||
/// The user dropped a `File` without without finishing writing all of its contents.
|
||||
///
|
||||
/// This is required because the payload lengths is written out at the begining and decoding
|
||||
/// This is required because the payload lengths is written out at the beginning and decoding
|
||||
/// requires there to follow the right amount of data.
|
||||
IncompleteFile,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user