mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
chore: address Rust 1.88.0 clippy lints (#8498)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -728,8 +728,7 @@ impl WebhookDetails {
|
||||
for status in statuses {
|
||||
if !valid_statuses.contains(status) {
|
||||
return Err(format!(
|
||||
"Invalid {} webhook status provided: {:?}",
|
||||
status_type_name, status
|
||||
"Invalid {status_type_name} webhook status provided: {status:?}"
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user