Browse Source

Back out clippy::manual_map for now

Michael Vines 4 years ago
parent
commit
d9859e93f3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      program/src/processor.rs

+ 0 - 2
program/src/processor.rs

@@ -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 {