mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
Make clippy and fmt happy
This commit is contained in:
parent
51d4eccc72
commit
1974f1f00a
2 changed files with 1 additions and 2 deletions
|
@ -123,7 +123,7 @@ pub fn regroup_inputs(
|
||||||
let mut tys = vec![];
|
let mut tys = vec![];
|
||||||
|
|
||||||
for (i, input) in inputs.iter().enumerate() {
|
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;
|
let ty = &input.ty;
|
||||||
|
|
||||||
args.push(quote!(#i: #ty));
|
args.push(quote!(#i: #ty));
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
html_logo_url = "https://raw.githubusercontent.com/rtic-rs/rtic/master/book/en/src/RTIC.svg",
|
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"
|
html_favicon_url = "https://raw.githubusercontent.com/rtic-rs/rtic/master/book/en/src/RTIC.svg"
|
||||||
)]
|
)]
|
||||||
|
|
||||||
//deny_warnings_placeholder_for_ci
|
//deny_warnings_placeholder_for_ci
|
||||||
|
|
||||||
use proc_macro::TokenStream;
|
use proc_macro::TokenStream;
|
||||||
|
|
Loading…
Reference in a new issue