Make clippy and fmt happy

This commit is contained in:
Henrik Tjäder 2023-01-27 11:24:43 +01:00
parent 51d4eccc72
commit 1974f1f00a
2 changed files with 1 additions and 2 deletions

View file

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

View file

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