This commit is contained in:
p0lunin 2020-07-25 16:57:51 +03:00
parent a934061fb5
commit 055a4d09cb

View file

@ -31,7 +31,7 @@ pub fn impl_parse_args_unnamed(
data.unnamed.iter().map(|f| &f.ty),
data.unnamed.len(),
);
let iter = (0..data.unnamed.len()).map( syn::Index::from);
let iter = (0..data.unnamed.len()).map(syn::Index::from);
let mut initialization = quote! {};
for i in iter {
initialization.extend(quote! { arguments.#i, })