events-macros: Explain redaction special case
This commit is contained in:
		
							parent
							
								
									c807f9f43d
								
							
						
					
					
						commit
						c7284d972b
					
				| @ -331,6 +331,7 @@ fn generate_event_type_aliases( | |||||||
|     event_type: &str, |     event_type: &str, | ||||||
|     ruma_events: &TokenStream, |     ruma_events: &TokenStream, | ||||||
| ) -> syn::Result<TokenStream> { | ) -> syn::Result<TokenStream> { | ||||||
|  |     // The redaction module has its own event types.
 | ||||||
|     if ident == "RedactionEventContent" { |     if ident == "RedactionEventContent" { | ||||||
|         return Ok(quote! {}); |         return Ok(quote! {}); | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user