From 64e4bbf829a92b611b718c20d148c8cdb4eb08dd Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 21 Oct 2021 12:01:03 -0600 Subject: [PATCH] Fix weird attribute order --- sdk/program/src/entrypoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/program/src/entrypoint.rs b/sdk/program/src/entrypoint.rs index c5f4ad718..1486e5cb5 100644 --- a/sdk/program/src/entrypoint.rs +++ b/sdk/program/src/entrypoint.rs @@ -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>, &'a [u8]) { let mut offset: usize = 0;