mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -649,7 +649,7 @@ fn from_timestamp_to_datetime(
|
||||
}
|
||||
})?;
|
||||
|
||||
Ok(Some(time::PrimitiveDateTime::new(time.date(), time.time())))
|
||||
Ok(Some(PrimitiveDateTime::new(time.date(), time.time())))
|
||||
} else {
|
||||
Ok(None)
|
||||
}
|
||||
@ -744,7 +744,7 @@ impl ForeignTryFrom<(Option<MandateData>, Option<String>)> for Option<payments::
|
||||
},
|
||||
))),
|
||||
},
|
||||
None => Some(api_models::payments::MandateType::MultiUse(Some(
|
||||
None => Some(payments::MandateType::MultiUse(Some(
|
||||
payments::MandateAmountData {
|
||||
amount: mandate.amount.unwrap_or_default(),
|
||||
currency,
|
||||
|
||||
Reference in New Issue
Block a user