Fix weird attribute order

This commit is contained in:
Brian Anderson 2021-10-21 12:01:03 -06:00 committed by Michael Vines
parent 8a3805be88
commit 64e4bbf829
1 changed files with 1 additions and 1 deletions

View File

@ -139,9 +139,9 @@ pub const MAX_PERMITTED_DATA_INCREASE: usize = 1_024 * 10;
/// The integer arithmetic in this method is safe when called on a buffer that was
/// serialized by runtime. Use with buffers serialized otherwise is unsupported and
/// done at one's own risk.
#[allow(clippy::integer_arithmetic)]
///
/// # Safety
#[allow(clippy::integer_arithmetic)]
#[allow(clippy::type_complexity)]
pub unsafe fn deserialize<'a>(input: *mut u8) -> (&'a Pubkey, Vec<AccountInfo<'a>>, &'a [u8]) {
let mut offset: usize = 0;