Back out clippy::manual_map for now

This commit is contained in:
Michael Vines 2021-03-16 20:31:22 -07:00
parent af5fdb3146
commit 58807c5f8b
2 changed files with 0 additions and 3 deletions

View File

@ -757,7 +757,6 @@ fn command_revoke(config: &Config, account: Pubkey, delegate: Option<Pubkey>) ->
.get_token_account(&account)?
.ok_or_else(|| format!("Could not find token account {}", account))?;
#[allow(clippy::manual_map)]
if let Some(string) = source_account.delegate {
Some(Pubkey::from_str(&string)?)
} else {

View File

@ -159,7 +159,6 @@ impl Processor {
let source_account_info = next_account_info(account_info_iter)?;
#[allow(clippy::manual_map)]
let expected_mint_info = if let Some(expected_decimals) = expected_decimals {
Some((next_account_info(account_info_iter)?, expected_decimals))
} else {
@ -268,7 +267,6 @@ impl Processor {
let source_account_info = next_account_info(account_info_iter)?;
#[allow(clippy::manual_map)]
let expected_mint_info = if let Some(expected_decimals) = expected_decimals {
Some((next_account_info(account_info_iter)?, expected_decimals))
} else {