Skip to content

Commit

Permalink
Fix Rust formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jul 10, 2023
1 parent d6083a2 commit 81efd4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/src/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
};

Expand Down

0 comments on commit 81efd4e

Please sign in to comment.