From de99f96a21624db3d662b3f2faa5f138cc13baa6 Mon Sep 17 00:00:00 2001 From: Christian Lewe Date: Sat, 28 Sep 2024 15:43:10 +0200 Subject: [PATCH] fix: Typo --- src/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/value.rs b/src/value.rs index f982b317..483d9511 100644 --- a/src/value.rs +++ b/src/value.rs @@ -443,7 +443,7 @@ impl Padding for PaddedEncoding { ty_l: &Final, ty_r: &Final, ) -> Result<(), EarlyEndOfStreamError> { - for _ in 0..ty_l.pad_left(ty_r) { + for _ in 0..ty_l.pad_right(ty_r) { let _padding = bits.next().ok_or(EarlyEndOfStreamError)?; } Ok(())