From db70792f03ebde379e4cd649b5e40bd1ab25db92 Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Fri, 21 Jun 2019 17:14:08 -0700 Subject: [PATCH] Alphabetize struct fields. --- src/gen.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gen.rs b/src/gen.rs index 21b8e6e5..fd29fda0 100644 --- a/src/gen.rs +++ b/src/gen.rs @@ -481,11 +481,12 @@ fn populate_room_event_fields( /// The unique identifier for the room associated with this event. pub room_id: Option, + /// The unique identifier for the user who sent this event. + pub sender: ruma_identifiers::UserId, + /// Additional key-value pairs not signed by the homeserver. pub unsigned: Option, - /// The unique identifier for the user who sent this event. - pub sender: ruma_identifiers::UserId, }; let mut additional_fields = Vec::with_capacity(punctuated_fields.len());