]> git.proxmox.com Git - pxar.git/commitdiff
encoder: fix two typos in comments
authorChristian Ebner <c.ebner@proxmox.com>
Thu, 28 Mar 2024 12:36:10 +0000 (13:36 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 3 Apr 2024 09:09:26 +0000 (11:09 +0200)
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/encoder/mod.rs

index 0d342ec9b3ce9cf5121385ebc6de122ad3685946..c93f13b08d897378cf09413b7fb1f3a6a614b6b1 100644 (file)
@@ -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,