Fix clippy lints
This commit is contained in:
committed by
Michael Vines
parent
fed69e96a9
commit
e7387f60a7
@ -82,7 +82,7 @@ impl Parse for RespanInput {
|
|||||||
respan_using: ident.span(),
|
respan_using: ident.span(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
val @ _ => Err(syn::Error::new_spanned(
|
val => Err(syn::Error::new_spanned(
|
||||||
val,
|
val,
|
||||||
"expected None-delimited group",
|
"expected None-delimited group",
|
||||||
)),
|
)),
|
||||||
@ -129,7 +129,7 @@ pub fn respan(input: TokenStream) -> TokenStream {
|
|||||||
t
|
t
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
return TokenStream::from(to_respan);
|
TokenStream::from(to_respan)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[proc_macro]
|
#[proc_macro]
|
||||||
|
Reference in New Issue
Block a user