proc: cleanup

This commit is contained in:
🪞👃🪞 2025-05-08 20:18:07 +03:00
parent a16603fbc8
commit bcbcc387a2
2 changed files with 21 additions and 46 deletions

View file

@ -202,7 +202,7 @@ impl ToTokens for CommandVariant {
out.append(Group::new(Delimiter::Parenthesis, {
let mut out = TokenStream2::new();
for arg in args.iter() {
if let FnArg::Typed(PatType { attrs, pat, colon_token, ty }) = arg {
if let FnArg::Typed(PatType { ty, .. }) = arg {
out.append(LitStr::new(
&format!("{}", quote! { #ty }),
Span::call_site()