diff --git a/rtic/macros/src/codegen/util.rs b/rtic/macros/src/codegen/util.rs index e121487c70..d0c8cc0e44 100644 --- a/rtic/macros/src/codegen/util.rs +++ b/rtic/macros/src/codegen/util.rs @@ -123,7 +123,7 @@ pub fn regroup_inputs( let mut tys = vec![]; for (i, input) in inputs.iter().enumerate() { - let i = Ident::new(&format!("_{}", i), Span::call_site()); + let i = Ident::new(&format!("_{i}"), Span::call_site()); let ty = &input.ty; args.push(quote!(#i: #ty)); diff --git a/rtic/macros/src/lib.rs b/rtic/macros/src/lib.rs index a8422d0927..92d7cddd99 100644 --- a/rtic/macros/src/lib.rs +++ b/rtic/macros/src/lib.rs @@ -2,7 +2,6 @@ html_logo_url = "https://raw.githubusercontent.com/rtic-rs/rtic/master/book/en/src/RTIC.svg", html_favicon_url = "https://raw.githubusercontent.com/rtic-rs/rtic/master/book/en/src/RTIC.svg" )] - //deny_warnings_placeholder_for_ci use proc_macro::TokenStream;