chore: address Rust 1.82.0 clippy lints (#6401)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2024-10-24 21:06:07 +05:30
committed by GitHub
parent 8e58b56b43
commit 8708a5cb8f
113 changed files with 668 additions and 647 deletions

View File

@ -157,10 +157,9 @@ where
let (connector_mandate_id, mandate_metadata) = match responses {
types::PaymentsResponseData::TransactionResponse {
ref mandate_reference,
..
mandate_reference, ..
} => {
if let Some(mandate_ref) = mandate_reference {
if let Some(ref mandate_ref) = *mandate_reference {
(
mandate_ref.connector_mandate_id.clone(),
mandate_ref.mandate_metadata.clone(),