diff --git a/codegen/src/attribute.rs b/codegen/src/attribute.rs index 4d8ba13b..f392ec8a 100644 --- a/codegen/src/attribute.rs +++ b/codegen/src/attribute.rs @@ -832,7 +832,7 @@ fn parse_fn_arg(arg: &syn::FnArg) -> syn::Result<(&syn::Ident, &syn::Type)> { } }; - let syn::Pat::Ident(syn::PatIdent{ ident, .. }) = arg.pat.as_ref() else { + let syn::Pat::Ident(syn::PatIdent { ident, .. }) = arg.pat.as_ref() else { return Err(syn::Error::new(arg.span(), "expected ident")); };