From 59924ea03e2097eb4c5a7ee500b5488749bc3cb0 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 3 Jun 2024 09:11:47 +0200 Subject: [PATCH] doc(sdk): Fix `Control` to `ControlFlow`. --- crates/matrix-sdk/src/event_cache/pagination.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/event_cache/pagination.rs b/crates/matrix-sdk/src/event_cache/pagination.rs index 2d178e655..def8063c7 100644 --- a/crates/matrix-sdk/src/event_cache/pagination.rs +++ b/crates/matrix-sdk/src/event_cache/pagination.rs @@ -63,7 +63,7 @@ impl RoomPagination { /// to decide whether a new pagination must be run or not. It's helpful when /// the server replies with e.g. a certain set of events, but we would like /// more, or the event we are looking for isn't part of this set: in this - /// case, `until` returns [`Control::Continue`], otherwise it returns + /// case, `until` returns [`ControlFlow::Continue`], otherwise it returns /// [`ControlFlow::Break`]. `until` receives [`BackPaginationOutcome`] as /// its sole argument. ///