macros: Consistently use syn::Result type alias

This commit is contained in:
Jonas Platte 2022-03-15 13:07:00 +01:00
parent c16ba45c9e
commit 0f18deae1d
No known key found for this signature in database
GPG Key ID: BBA95679259D342F

View File

@ -185,7 +185,7 @@ fn generate_redacted_event_content(
event_type: &LitStr, event_type: &LitStr,
event_kind: Option<EventKind>, event_kind: Option<EventKind>,
ruma_common: &TokenStream, ruma_common: &TokenStream,
) -> Result<TokenStream, syn::Error> { ) -> syn::Result<TokenStream> {
let serde = quote! { #ruma_common::exports::serde }; let serde = quote! { #ruma_common::exports::serde };
let serde_json = quote! { #ruma_common::exports::serde_json }; let serde_json = quote! { #ruma_common::exports::serde_json };