From d0fcb0b862ff8b066533cb111707473c6feadccc Mon Sep 17 00:00:00 2001 From: Ayush Date: Sun, 29 Dec 2024 04:25:06 +0530 Subject: [PATCH] fix clippy transfer-fee --- .../anchor/programs/transfer-fee/src/instructions/initialize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokens/token-2022/transfer-fee/anchor/programs/transfer-fee/src/instructions/initialize.rs b/tokens/token-2022/transfer-fee/anchor/programs/transfer-fee/src/instructions/initialize.rs index 4de5e2573..83faf9887 100644 --- a/tokens/token-2022/transfer-fee/anchor/programs/transfer-fee/src/instructions/initialize.rs +++ b/tokens/token-2022/transfer-fee/anchor/programs/transfer-fee/src/instructions/initialize.rs @@ -92,7 +92,7 @@ pub fn process_initialize( } // helper to demonstrate how to read mint extension data within a program -impl<'info> Initialize<'info> { +impl Initialize<'_> { pub fn check_mint_data(&self) -> Result<()> { let mint = &self.mint_account.to_account_info(); let mint_data = mint.data.borrow();