From 81efd4e736c63d579aaa6849630a34a1ca768332 Mon Sep 17 00:00:00 2001 From: tyranron Date: Mon, 10 Jul 2023 14:46:52 +0300 Subject: [PATCH] Fix Rust formatting --- codegen/src/attribute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); };