From 355a49302474f69b00132412c4c680698f2b025e Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 5 Sep 2021 19:34:17 +0200 Subject: [PATCH] state-res: Fix some docs --- crates/ruma-state-res/src/state_event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.