From c531388715212b01308171bd45488e39465cf3e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Fri, 27 Jan 2023 11:24:43 +0100 Subject: [PATCH] Make clippy and fmt happy --- rtic/macros/src/codegen/util.rs | 2 +- rtic/macros/src/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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;