Skip to content

Commit bd648cd

Browse files
committed
doc(ui): Fix typos.
1 parent 04f9403 commit bd648cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/matrix-sdk-ui/src/timeline/controller/observable_items.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ impl<'observable_items> ObservableItemsTransaction<'observable_items> {
199199
self.all_remote_events
200200
}
201201

202-
/// Remove a remote event at position `event_index`.
202+
/// Remove a remote event at the `event_index` position.
203203
///
204204
/// Not to be confused with removing a timeline item!
205205
pub fn remove_remote_event(&mut self, event_index: usize) -> Option<EventMeta> {
@@ -208,14 +208,14 @@ impl<'observable_items> ObservableItemsTransaction<'observable_items> {
208208

209209
/// Push a new remote event at the front of all remote events.
210210
///
211-
/// Not to be confused with pushing front a timeline item!
211+
/// Not to be confused with pushing a timeline item to the front!
212212
pub fn push_front_remote_event(&mut self, event_meta: EventMeta) {
213213
self.all_remote_events.push_front(event_meta);
214214
}
215215

216216
/// Push a new remote event at the back of all remote events.
217217
///
218-
/// Not to be confused with pushing back a timeline item!
218+
/// Not to be confused with pushing a timeline item to the back!
219219
pub fn push_back_remote_event(&mut self, event_meta: EventMeta) {
220220
self.all_remote_events.push_back(event_meta);
221221
}

0 commit comments

Comments
 (0)