fix some clippy lints
This commit is contained in:
1 parent
ee25c03e74
commit
3e55bb8885
3 files changed
+3
-3
No files matched your search
@@ -554,7 +554,7 @@ mod struct_info {
|
||||
let name = f.name;
|
||||
let mut visitor = VisitFirstLifetime(None);
|
||||
|
||||
visitor.visit_type(&f.ty);
|
||||
visitor.visit_type(f.ty);
|
||||
|
||||
visitor.0.ok_or_else(|| {
|
||||
syn::Error::new_spanned(
|
||||
|
||||
Reference in new issue
Block a user