diff --git a/reactive_stores_macro/src/lib.rs b/reactive_stores_macro/src/lib.rs index 5817ee3ca..a1320f479 100644 --- a/reactive_stores_macro/src/lib.rs +++ b/reactive_stores_macro/src/lib.rs @@ -6,8 +6,8 @@ use syn::{ parse::{Parse, ParseStream, Parser}, punctuated::Punctuated, token::Comma, - Field, Fields, Generics, Ident, Index, Meta, Result, Token, Type, Variant, - Visibility, WhereClause, ExprClosure, + ExprClosure, Field, Fields, Generics, Ident, Index, Meta, Result, Token, + Type, Variant, Visibility, WhereClause, }; #[proc_macro_error] @@ -441,7 +441,7 @@ fn variant_to_tokens( } } else { quote! { - fn #combined_ident(self) -> Option<#library_path::Subfield<#any_store_field, #name #generics, #field_ty>>; + fn #combined_ident(self) -> Option<#library_path::Subfield<#any_store_field, #name #generics, #field_ty>>; } } })); @@ -524,7 +524,7 @@ fn variant_to_tokens( } } else { quote! { - fn #combined_ident(self) -> Option<#library_path::Subfield<#any_store_field, #name #generics, #field_ty>>; + fn #combined_ident(self) -> Option<#library_path::Subfield<#any_store_field, #name #generics, #field_ty>>; } } }));