mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
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:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user