sdk/program: switch allow to mod-level for integer_arithmetic lint

This commit is contained in:
Trent Nelson
2021-03-12 00:25:52 -07:00
committed by Trent Nelson
parent 5b2b824a53
commit 98d7673a03
17 changed files with 16 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
use crate::{decode_error::DecodeError, instruction::InstructionError, msg, pubkey::PubkeyError};
use borsh::maybestd::io::Error as BorshIoError;
use num_traits::{FromPrimitive, ToPrimitive};