chore: address Rust 1.80 clippy lints (#5447)

This commit is contained in:
Chethan Rao
2024-07-26 15:44:39 +05:30
committed by GitHub
parent 2bee694d5b
commit 074e90c9f9
17 changed files with 41 additions and 150 deletions

View File

@ -145,20 +145,6 @@ impl_api_event_type!(
)
);
#[cfg(feature = "stripe")]
impl_api_event_type!(
Miscellaneous,
(
StripeSetupIntentResponse,
StripeRefundResponse,
StripePaymentIntentListResponse,
StripePaymentIntentResponse,
CustomerDeleteResponse,
CustomerPaymentMethodListResponse,
CreateCustomerResponse
)
);
impl<T> ApiEventMetric for MetricsResponse<T> {
fn get_api_event_type(&self) -> Option<ApiEventsType> {
Some(ApiEventsType::Miscellaneous)