From 144c4c7adfbbf12104fe41e53768e8720a481559 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 12 Jul 2024 05:53:08 +0900 Subject: [PATCH] format --- optionalize-derive/src/util.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/optionalize-derive/src/util.rs b/optionalize-derive/src/util.rs index 7dfdac2..7d7896f 100644 --- a/optionalize-derive/src/util.rs +++ b/optionalize-derive/src/util.rs @@ -1,6 +1,6 @@ -use syn::{punctuated::Punctuated, spanned::Spanned}; - -pub(crate) fn struct_fields(struct_data: &syn::Data) -> &Punctuated { +pub(crate) fn struct_fields( + struct_data: &syn::Data, +) -> &syn::punctuated::Punctuated { match struct_data { syn::Data::Struct(syn::DataStruct { fields: syn::Fields::Named(syn::FieldsNamed { named, .. }),