File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/matrix-sdk/src/room/timeline Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ impl<'a> PaginationOptions<'a> {
99 /// Do a single pagination request, asking the server for the given
1010 /// maximum number of events.
1111 ///
12- /// The server may choose to return fewer events, even if the end of the
13- /// visible timeline is not yet reached.
12+ /// The server may choose to return fewer events, even if the start or end
13+ /// of the visible timeline is not yet reached.
1414 pub fn single_request ( event_limit : u16 ) -> Self {
1515 Self :: new ( PaginationOptionsInner :: SingleRequest { event_limit_if_first : Some ( event_limit) } )
1616 }
1717
1818 /// Continually paginate with a fixed `limit` until at least the given
19- /// amount of timeline items have been added (unless the end of the
19+ /// amount of timeline items have been added (unless the start or end of the
2020 /// visible timeline is reached).
2121 ///
2222 /// The `event_limit` represents the maximum number of events the server
You can’t perform that action at this time.
0 commit comments