Skip to content

Commit dd86667

Browse files
committed
Lint
1 parent df38b63 commit dd86667

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

p-token/src/processor/close_account.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use {
1111
};
1212

1313
#[inline(always)]
14+
#[allow(clippy::arithmetic_side_effects)]
1415
pub fn process_close_account(accounts: &[AccountInfo]) -> ProgramResult {
1516
let [source_account_info, destination_account_info, authority_info, remaining @ ..] = accounts
1617
else {

p-token/src/processor/shared/burn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use {
88
};
99

1010
#[inline(always)]
11+
#[allow(clippy::arithmetic_side_effects)]
1112
pub fn process_burn(
1213
accounts: &[AccountInfo],
1314
amount: u64,

0 commit comments

Comments
 (0)