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) -> &Punctuated<syn::Field, syn::token::Comma> {
|
||||
pub(crate) fn struct_fields(
|
||||
struct_data: &syn::Data,
|
||||
) -> &syn::punctuated::Punctuated<syn::Field, syn::token::Comma> {
|
||||
match struct_data {
|
||||
syn::Data::Struct(syn::DataStruct {
|
||||
fields: syn::Fields::Named(syn::FieldsNamed { named, .. }),
|
||||
|
|
Loading…
Reference in a new issue