[pbs-devel] [PATCH v3 pxar 01/58] encoder: fix two typos in comments

Christian Ebner c.ebner at proxmox.com
Thu Mar 28 13:36:10 CET 2024


Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
changes since version 2:
- not present in previous version

 src/encoder/mod.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/encoder/mod.rs b/src/encoder/mod.rs
index 0d342ec..c93f13b 100644
--- a/src/encoder/mod.rs
+++ b/src/encoder/mod.rs
@@ -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,
 
-- 
2.39.2





More information about the pbs-devel mailing list