Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 authored and mvines committed Jul 14, 2020
1 parent fed69e9 commit e7387f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)),
Expand Down Expand Up @@ -129,7 +129,7 @@ pub fn respan(input: TokenStream) -> TokenStream {
t
})
.collect();
return TokenStream::from(to_respan);
TokenStream::from(to_respan)
}

#[proc_macro]
Expand Down

0 comments on commit e7387f6

Please sign in to comment.