@@ -3,7 +3,9 @@ use quote::{quote, quote_spanned};
33use  syn:: punctuated:: Punctuated ; 
44use  syn:: spanned:: Spanned ; 
55use  syn:: token:: Comma ; 
6- use  syn:: { Attribute ,  DeriveInput ,  Field ,  Lit ,  Meta ,  MetaNameValue ,  Variant ,  Expr ,  LitStr ,  Token ,  Path } ; 
6+ use  syn:: { 
7+     Attribute ,  DeriveInput ,  Expr ,  Field ,  Lit ,  LitStr ,  Meta ,  MetaNameValue ,  Path ,  Token ,  Variant , 
8+ } ; 
79
810macro_rules!  assert_attribute { 
911    ( $e: expr,  $err: expr,  $input: expr)  => { 
@@ -87,7 +89,8 @@ pub fn parse_container_attributes(input: &[Attribute]) -> syn::Result<SqlxContai
8789    { 
8890        match  & attr. meta  { 
8991            Meta :: List ( list)  if  list. path . is_ident ( "sqlx" )  => { 
90-                 let  nested_metas = list. parse_args_with ( Punctuated :: < Meta ,  syn:: token:: Comma > :: parse_terminated) ?; 
92+                 let  nested_metas =
93+                     list. parse_args_with ( Punctuated :: < Meta ,  syn:: token:: Comma > :: parse_terminated) ?; 
9194                for  meta_item in  nested_metas { 
9295                    match  meta_item { 
9396                        Meta :: Path ( p)  if  p. is_ident ( "transparent" )  => { 
@@ -157,7 +160,8 @@ pub fn parse_container_attributes(input: &[Attribute]) -> syn::Result<SqlxContai
157160                } 
158161            } 
159162            Meta :: List ( list)  if  list. path . is_ident ( "repr" )  => { 
160-                 let  nested_metas = list. parse_args_with ( Punctuated :: < Meta ,  syn:: token:: Comma > :: parse_terminated) ?; 
163+                 let  nested_metas =
164+                     list. parse_args_with ( Punctuated :: < Meta ,  syn:: token:: Comma > :: parse_terminated) ?; 
161165                if  nested_metas. len ( )  != 1  { 
162166                    fail ! ( & list. path,  "expected one value for repr" ) 
163167                } 
@@ -188,7 +192,8 @@ pub fn parse_child_attributes(input: &[Attribute]) -> syn::Result<SqlxChildAttri
188192
189193    for  attr in  input. iter ( ) . filter ( |a| a. path ( ) . is_ident ( "sqlx" ) )  { 
190194        if  let  Meta :: List ( list)  = & attr. meta  { 
191-             let  nested_metas = list. parse_args_with ( Punctuated :: < Meta ,  syn:: token:: Comma > :: parse_terminated) ?; 
195+             let  nested_metas =
196+                 list. parse_args_with ( Punctuated :: < Meta ,  syn:: token:: Comma > :: parse_terminated) ?; 
192197            for  meta_item in  nested_metas { 
193198                match  meta_item { 
194199                    Meta :: NameValue ( mnv)  if  mnv. path . is_ident ( "rename" )  => { 
0 commit comments