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

@ -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