From a195608019291383e89a5a1c6e470bfe3b940085 Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Thu, 28 Mar 2024 13:36:10 +0100 Subject: [PATCH] encoder: fix two typos in comments Signed-off-by: Christian Ebner (cherry picked from commit 237917b7416faaf87f7edb50be0084ea490efe4d) --- 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( 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,