From e907510a1ae41015046db5bd8ed700da053bec6c Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 14 Dec 2020 12:55:34 -0800 Subject: [PATCH] clippy --- runtime/src/bank.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 39f174672b..bca9f75775 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -10932,6 +10932,7 @@ pub(crate) mod tests { .remove(&feature_set::deprecate_rewards_sysvar::id()); // intentionally create bogus native programs + #[allow(clippy::unnecessary_wraps)] fn mock_process_instruction( _program_id: &Pubkey, _keyed_accounts: &[KeyedAccount],