diff --git a/crates/ruma-events/src/relation.rs b/crates/ruma-events/src/relation.rs index d2cb2054..4f736f71 100644 --- a/crates/ruma-events/src/relation.rs +++ b/crates/ruma-events/src/relation.rs @@ -107,14 +107,14 @@ pub struct Thread { } impl Thread { - /// Convenience method to create a regular `Thread` with the given event ID and latest - /// message-like event ID. + /// Convenience method to create a regular `Thread` relation with the given root event ID and + /// latest message-like event ID. pub fn plain(event_id: OwnedEventId, latest_event_id: OwnedEventId) -> Self { Self { event_id, in_reply_to: Some(InReplyTo::new(latest_event_id)), is_falling_back: true } } - /// Convenience method to create a reply `Thread` with the given event ID and replied-to event - /// ID. + /// Convenience method to create a reply `Thread` relation with the given root event ID and + /// replied-to event ID. pub fn reply(event_id: OwnedEventId, reply_to_event_id: OwnedEventId) -> Self { Self { event_id,