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

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Apr 3 11:12:37 CEST 2024


this one already, with a follow-up that fixes the doubled "without"
before it, and the wrong "lengths" as well as some phrasing ;)

On March 28, 2024 1:36 pm, Christian Ebner wrote:
> 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
> 
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 
> 
> 




More information about the pbs-devel mailing list