events-macros: Explain redaction special case

This commit is contained in:
Jonas Platte 2021-10-01 20:27:03 +02:00
parent c807f9f43d
commit c7284d972b
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -331,6 +331,7 @@ fn generate_event_type_aliases(
event_type: &str,
ruma_events: &TokenStream,
) -> syn::Result<TokenStream> {
// The redaction module has its own event types.
if ident == "RedactionEventContent" {
return Ok(quote! {});
}