mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
chore: address Rust 1.67 clippy lints (#465)
This commit is contained in:
@ -13,7 +13,7 @@ pub(super) fn occurrence_error<T: ToTokens>(
|
||||
) -> syn::Error {
|
||||
let mut error = syn::Error::new_spanned(
|
||||
second_keyword,
|
||||
format!("Found multiple occurrences of error({})", attr),
|
||||
format!("Found multiple occurrences of error({attr})"),
|
||||
);
|
||||
error.combine(syn::Error::new_spanned(first_keyword, "first one here"));
|
||||
error
|
||||
|
||||
Reference in New Issue
Block a user