events-macros: Fix proc-macro entrypoint name
This commit is contained in:
parent
651741f482
commit
d77f58dc46
@ -87,7 +87,7 @@ pub fn derive_event_content(input: TokenStream) -> TokenStream {
|
||||
|
||||
/// Generates implementations needed to serialize and deserialize Matrix events.
|
||||
#[proc_macro_derive(Event, attributes(ruma_event))]
|
||||
pub fn derive_state_event(input: TokenStream) -> TokenStream {
|
||||
pub fn derive_event(input: TokenStream) -> TokenStream {
|
||||
let input = parse_macro_input!(input as DeriveInput);
|
||||
expand_event(input).unwrap_or_else(syn::Error::into_compile_error).into()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user