Fix clippy lints

This commit is contained in:
Aaron Hill 2020-07-13 21:16:57 -04:00 committed by Michael Vines
parent fed69e96a9
commit e7387f60a7
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ impl Parse for RespanInput {
respan_using: ident.span(),
})
}
val @ _ => Err(syn::Error::new_spanned(
val => Err(syn::Error::new_spanned(
val,
"expected None-delimited group",
)),
@ -129,7 +129,7 @@ pub fn respan(input: TokenStream) -> TokenStream {
t
})
.collect();
return TokenStream::from(to_respan);
TokenStream::from(to_respan)
}
#[proc_macro]