From 934d584130665e1398cf419b922f0b169ca42911 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 2 Oct 2019 21:58:49 -0700 Subject: [PATCH] Pacify nightly clippy --- sdk/src/entrypoint.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/src/entrypoint.rs b/sdk/src/entrypoint.rs index e12da85e3face8..ced862f46601d7 100644 --- a/sdk/src/entrypoint.rs +++ b/sdk/src/entrypoint.rs @@ -27,6 +27,7 @@ pub const SUCCESS: u32 = 0; #[macro_export] macro_rules! entrypoint { ($process_instruction:ident) => { + #[allow(clippy::missing_safety_doc)] #[no_mangle] pub unsafe extern "C" fn entrypoint(input: *mut u8) -> u32 { unsafe { @@ -38,6 +39,7 @@ macro_rules! entrypoint { } /// Deserialize the input parameters +#[allow(clippy::missing_safety_doc)] #[allow(clippy::type_complexity)] pub unsafe fn deserialize<'a>(input: *mut u8) -> (&'a Pubkey, Vec>, &'a [u8]) { let mut offset: usize = 0;