state-res: Fix some docs

This commit is contained in:
Jonas Platte 2021-09-05 19:34:17 +02:00
parent 0cd91ed61e
commit 355a493024
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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.