Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 58807c5

Browse files
committed
Back out clippy::manual_map for now
1 parent af5fdb3 commit 58807c5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

token/cli/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ fn command_revoke(config: &Config, account: Pubkey, delegate: Option<Pubkey>) ->
757757
.get_token_account(&account)?
758758
.ok_or_else(|| format!("Could not find token account {}", account))?;
759759

760-
#[allow(clippy::manual_map)]
761760
if let Some(string) = source_account.delegate {
762761
Some(Pubkey::from_str(&string)?)
763762
} else {

token/program/src/processor.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ impl Processor {
159159

160160
let source_account_info = next_account_info(account_info_iter)?;
161161

162-
#[allow(clippy::manual_map)]
163162
let expected_mint_info = if let Some(expected_decimals) = expected_decimals {
164163
Some((next_account_info(account_info_iter)?, expected_decimals))
165164
} else {
@@ -268,7 +267,6 @@ impl Processor {
268267

269268
let source_account_info = next_account_info(account_info_iter)?;
270269

271-
#[allow(clippy::manual_map)]
272270
let expected_mint_info = if let Some(expected_decimals) = expected_decimals {
273271
Some((next_account_info(account_info_iter)?, expected_decimals))
274272
} else {

0 commit comments

Comments
 (0)