Skip to content

Commit 8fe27ab

Browse files
committed
doc(sdk): Improve documentation of RoomEvents::replace_gap_at.
1 parent 8c1d3f4 commit 8fe27ab

File tree

1 file changed

+2
-2
lines changed
  • crates/matrix-sdk/src/event_cache

1 file changed

+2
-2
lines changed

crates/matrix-sdk/src/event_cache/store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ impl RoomEvents {
104104
/// Because the `gap_identifier` can represent non-gap chunk, this method
105105
/// returns a `Result`.
106106
///
107-
/// The returned `Chunk` represents the newly created `Chunk` that contains
108-
/// the first events.
107+
/// This method returns a reference to the (first if many) newly created
108+
/// `Chunk` that contains the `items`.
109109
pub fn replace_gap_at<I>(
110110
&mut self,
111111
events: I,

0 commit comments

Comments
 (0)