Resolve clippy lints in syn and synom
diff --git a/src/generics.rs b/src/generics.rs
index 0361bef..2c116fa 100644
--- a/src/generics.rs
+++ b/src/generics.rs
@@ -421,7 +421,7 @@
impl<'a> ToTokens for ImplGenerics<'a> {
fn to_tokens(&self, tokens: &mut Tokens) {
- if empty_normal_generics(&self.0) {
+ if empty_normal_generics(self.0) {
return;
}
@@ -457,7 +457,7 @@
impl<'a> ToTokens for TypeGenerics<'a> {
fn to_tokens(&self, tokens: &mut Tokens) {
- if empty_normal_generics(&self.0) {
+ if empty_normal_generics(self.0) {
return;
}
@@ -485,7 +485,7 @@
impl<'a> ToTokens for Turbofish<'a> {
fn to_tokens(&self, tokens: &mut Tokens) {
- if !empty_normal_generics(&self.0) {
+ if !empty_normal_generics(self.0) {
<Token![::]>::default().to_tokens(tokens);
TypeGenerics(self.0).to_tokens(tokens);
}