Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades Rust to 1.72.0 & nightly-2023-08-25 #32961

Merged
merged 8 commits into from
Sep 1, 2023
Prev Previous commit
Next Next commit
nightly fmt correction
  • Loading branch information
t-nelson committed Sep 1, 2023
commit 36c1740cd869e946996e3c00d8a57a2256e07da2
4 changes: 2 additions & 2 deletions sdk/program/src/serde_varint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ macro_rules! impl_var_int {
let mut shift = 0u32;
while shift < <$type>::BITS {
let Some(byte) = seq.next_element::<u8>()? else {
return Err(A::Error::custom("Invalid Sequence"));
};
return Err(A::Error::custom("Invalid Sequence"));
};
out |= ((byte & 0x7F) as Self) << shift;
if byte & 0x80 == 0 {
// Last byte should not have been truncated when it was
Expand Down