macros: Fix outdated documentation

This commit is contained in:
Jonas Platte 2022-09-22 11:47:32 +02:00
parent 06bc576571
commit 97387f36c1
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -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>,
}