diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-01-27 11:24:43 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-01 00:33:32 +0100 |
| commit | 1974f1f00ac950c68a99b6c83fe448093aca5011 (patch) | |
| tree | 7d8dc027579b96566fa926782abc380472bf9e0d | |
| parent | 51d4eccc726d4dc7950aac6f8d74a34ddf669f67 (diff) | |
Make clippy and fmt happy
| -rw-r--r-- | rtic/macros/src/codegen/util.rs | 2 | ||||
| -rw-r--r-- | rtic/macros/src/lib.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/rtic/macros/src/codegen/util.rs b/rtic/macros/src/codegen/util.rs index e121487..d0c8cc0 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 a8422d0..92d7cdd 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; |
