File tree 2 files changed +4
-4
lines changed
crates/matrix-sdk/src/event_cache
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -517,8 +517,8 @@ impl RoomEventCacheInner {
517
517
Ok ( ( ) )
518
518
}
519
519
520
- // Remove existing events, and append a set of events to the room cache and
521
- // storage, notifying observers.
520
+ /// Remove existing events, and append a set of events to the room cache and
521
+ /// storage, notifying observers.
522
522
async fn replace_all_events_by (
523
523
& self ,
524
524
events : Vec < SyncTimelineEvent > ,
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ impl RoomEvents {
65
65
self . push_events ( once ( event) )
66
66
}
67
67
68
- /// Push events after existing events.
68
+ /// Push events after all events or gaps .
69
69
///
70
70
/// The last event in `events` is the most recent one.
71
71
pub fn push_events < I > ( & mut self , events : I )
@@ -76,7 +76,7 @@ impl RoomEvents {
76
76
self . chunks . push_items_back ( events)
77
77
}
78
78
79
- /// Push a gap after existing events.
79
+ /// Push a gap after all events or gaps .
80
80
pub fn push_gap ( & mut self , gap : Gap ) {
81
81
self . chunks . push_gap_back ( gap)
82
82
}
You can’t perform that action at this time.
0 commit comments