diff --git a/crates/ruma-state-res/src/state_event.rs b/crates/ruma-state-res/src/state_event.rs index f9059c17..ed5e0395 100644 --- a/crates/ruma-state-res/src/state_event.rs +++ b/crates/ruma-state-res/src/state_event.rs @@ -20,10 +20,10 @@ pub trait Event { /// The time of creation on the originating server. fn origin_server_ts(&self) -> MilliSecondsSinceUnixEpoch; - /// The kind of event. + /// The event type. fn event_type(&self) -> &EventType; - /// The `UserId` of this PDU. + /// The event's content. fn content(&self) -> serde_json::Value; /// The state key for this event.