Skip to content

Commit 9bfa4de

Browse files
committed
fix: clippy warnings from rust 1.87.0
1 parent 652f126 commit 9bfa4de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

midi2_proc/src/generate_ci.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ fn property_setter(property: &Property, public: bool) -> TokenStream {
220220

221221
if property.resize {
222222
let fallible_ident = syn::Ident::new(
223-
format!("try_{}", ident).as_str(),
223+
format!("try_{ident}").as_str(),
224224
proc_macro2::Span::call_site(),
225225
);
226226
quote! {

midi2_proc/src/generate_message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn property_setter(property: &Property, public: bool) -> TokenStream {
177177

178178
if property.resize {
179179
let fallible_ident = syn::Ident::new(
180-
format!("try_{}", ident).as_str(),
180+
format!("try_{ident}").as_str(),
181181
proc_macro2::Span::call_site(),
182182
);
183183
quote! {

0 commit comments

Comments
 (0)