File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/matrix-sdk-ui/src/timeline/controller Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ impl<'observable_items> ObservableItemsTransaction<'observable_items> {
199
199
self . all_remote_events
200
200
}
201
201
202
- /// Remove a remote event at position `event_index`.
202
+ /// Remove a remote event at the `event_index` position .
203
203
///
204
204
/// Not to be confused with removing a timeline item!
205
205
pub fn remove_remote_event ( & mut self , event_index : usize ) -> Option < EventMeta > {
@@ -208,14 +208,14 @@ impl<'observable_items> ObservableItemsTransaction<'observable_items> {
208
208
209
209
/// Push a new remote event at the front of all remote events.
210
210
///
211
- /// Not to be confused with pushing front a timeline item!
211
+ /// Not to be confused with pushing a timeline item to the front !
212
212
pub fn push_front_remote_event ( & mut self , event_meta : EventMeta ) {
213
213
self . all_remote_events . push_front ( event_meta) ;
214
214
}
215
215
216
216
/// Push a new remote event at the back of all remote events.
217
217
///
218
- /// Not to be confused with pushing back a timeline item!
218
+ /// Not to be confused with pushing a timeline item to the back !
219
219
pub fn push_back_remote_event ( & mut self , event_meta : EventMeta ) {
220
220
self . all_remote_events . push_back ( event_meta) ;
221
221
}
You can’t perform that action at this time.
0 commit comments