Skip to content

Commit 2223dd9

Browse files
committed
fix clippy native
1 parent d37bd58 commit 2223dd9

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ members = [
5555
# "tokens/token-2022/transfer-hook/whitelist/anchor/programs/*"
5656
]
5757
resolver = "2"
58-
edition = "2021"
5958

6059
[profile.release]
6160
overflow-checks = true

tokens/token-2022/permanent-delegate/anchor/programs/permanent-delegate/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub struct Initialize<'info> {
4141
}
4242

4343
// helper to check mint data, and demonstrate how to read mint extension data within a program
44-
impl<'info> Initialize<'info> {
44+
impl Initialize<'_> {
4545
pub fn check_mint_data(&self) -> Result<()> {
4646
let mint = &self.mint_account.to_account_info();
4747
let mint_data = mint.data.borrow();

0 commit comments

Comments
 (0)