Skip to content

Commit

Permalink
lint: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantamis committed Apr 12, 2024
1 parent 72f3119 commit 3f7e043
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tsify-next-macros/src/wasm_bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ fn expand_into_wasm_abi(cont: &Container) -> TokenStream {

let (impl_generics, ty_generics, where_clause) = generics.split_for_impl();

let serde_where_clause = WhereClause { where_token: parse_quote!(where), predicates: parse_quote!(#ident #ty_generics: #serde_path::Serialize)};
let serde_where_clause = WhereClause {
where_token: parse_quote!(where),
predicates: parse_quote!(#ident #ty_generics: #serde_path::Serialize),
};

quote! {
impl #impl_generics IntoWasmAbi for #ident #ty_generics #where_clause {
Expand Down

0 comments on commit 3f7e043

Please sign in to comment.