format
This commit is contained in:
parent
b0503a1a0e
commit
144c4c7adf
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
use syn::{punctuated::Punctuated, spanned::Spanned};
|
pub(crate) fn struct_fields(
|
||||||
|
struct_data: &syn::Data,
|
||||||
pub(crate) fn struct_fields(struct_data: &syn::Data) -> &Punctuated<syn::Field, syn::token::Comma> {
|
) -> &syn::punctuated::Punctuated<syn::Field, syn::token::Comma> {
|
||||||
match struct_data {
|
match struct_data {
|
||||||
syn::Data::Struct(syn::DataStruct {
|
syn::Data::Struct(syn::DataStruct {
|
||||||
fields: syn::Fields::Named(syn::FieldsNamed { named, .. }),
|
fields: syn::Fields::Named(syn::FieldsNamed { named, .. }),
|
||||||
|
|
Loading…
Reference in a new issue