chore: address Rust 1.67 clippy lints (#465)

This commit is contained in:
Sanchith Hegde
2023-01-27 12:29:57 +05:30
committed by GitHub
parent 351087fc7f
commit b5720f1e38
33 changed files with 107 additions and 123 deletions

View File

@ -416,10 +416,7 @@ pub async fn update_payment_connector(
.await
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printable_lazy(|| {
format!(
"Failed while updating MerchantConnectorAccount: id: {}",
merchant_connector_id
)
format!("Failed while updating MerchantConnectorAccount: id: {merchant_connector_id}")
})?;
let updated_pm_enabled = updated_mca.payment_methods_enabled.map(|pm| {