macros: Fix outdated documentation
This commit is contained in:
parent
06bc576571
commit
97387f36c1
@ -281,9 +281,9 @@ pub struct EventEnumDecl {
|
||||
/// An array of valid matrix event types.
|
||||
///
|
||||
/// This will generate the variants of the event type "kind". There needs to be a corresponding
|
||||
/// variant in `ruma_common::events::EventType` for this event (converted to a valid Rust-style
|
||||
/// type name by stripping `m.`, replacing the remaining dots by underscores and then
|
||||
/// converting from snake_case to CamelCase).
|
||||
/// variant in the `*EventType` enum for this event kind (converted to a valid Rust-style type
|
||||
/// name by stripping `m.`, replacing the remaining dots by underscores and then converting
|
||||
/// from snake_case to CamelCase).
|
||||
pub events: Vec<EventEnumEntry>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user