Resolve nightly-2021-10-05 clippy complaints
This commit is contained in:
@@ -510,6 +510,7 @@ pub fn process_get_nonce(
|
||||
config: &CliConfig,
|
||||
nonce_account_pubkey: &Pubkey,
|
||||
) -> ProcessResult {
|
||||
#[allow(clippy::redundant_closure)]
|
||||
match get_account_with_commitment(rpc_client, nonce_account_pubkey, config.commitment)
|
||||
.and_then(|ref a| state_from_account(a))?
|
||||
{
|
||||
|
Reference in New Issue
Block a user