Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 1224591

Browse files
committed
nightly fmt correction
1 parent a8316e7 commit 1224591

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/program/src/serde_varint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ macro_rules! impl_var_int {
7474
let mut shift = 0u32;
7575
while shift < <$type>::BITS {
7676
let Some(byte) = seq.next_element::<u8>()? else {
77-
return Err(A::Error::custom("Invalid Sequence"));
78-
};
77+
return Err(A::Error::custom("Invalid Sequence"));
78+
};
7979
out |= ((byte & 0x7F) as Self) << shift;
8080
if byte & 0x80 == 0 {
8181
// Last byte should not have been truncated when it was

0 commit comments

Comments
 (0)