diff --git a/crates/matrix-sdk/src/event_cache/room/mod.rs b/crates/matrix-sdk/src/event_cache/room/mod.rs index 717076fb7..d819f16ce 100644 --- a/crates/matrix-sdk/src/event_cache/room/mod.rs +++ b/crates/matrix-sdk/src/event_cache/room/mod.rs @@ -1295,8 +1295,8 @@ mod private { /// It may send room event cache updates to the given sender, if it /// generated any of those. /// - /// Returns true if a new gap (previous-batch token) has been inserted, - /// false otherwise. + /// Returns `true` for the first part of the tuple if a new gap + /// (previous-batch token) has been inserted, `false` otherwise. #[must_use = "Propagate `VectorDiff` updates via `RoomEventCacheUpdate`"] pub async fn handle_sync( &mut self,