mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-08-02 10:57:33 -04:00
doc(common): Fix a typo.
This commit is contained in:
@@ -493,7 +493,7 @@ impl ThreadSummaryStatus {
|
||||
pub struct TimelineEvent {
|
||||
/// The event ID (cached from `Self::kind`).
|
||||
///
|
||||
/// This field contains a copy of `TimeilneEventKind::parse_event_id`. Why?
|
||||
/// This field contains a copy of `TimelineEventKind::parse_event_id`. Why?
|
||||
/// Because reading the event ID is done **a lot** in the SDK.
|
||||
/// `TimelineEventKind::parse_event_id` implies parsing/deserializing the
|
||||
/// JSON payload looking for the event ID. It has a non-negligible cost.
|
||||
|
||||
Reference in New Issue
Block a user