diff --git a/crates/matrix-sdk/src/sliding_sync/list/mod.rs b/crates/matrix-sdk/src/sliding_sync/list/mod.rs index 615cad5ac..a2646d42a 100644 --- a/crates/matrix-sdk/src/sliding_sync/list/mod.rs +++ b/crates/matrix-sdk/src/sliding_sync/list/mod.rs @@ -66,9 +66,9 @@ impl SlidingSyncList { /// /// This will change the sync-mode but also the request generator. /// - /// The ranges and the state will be updated when the next request will be sent - /// and a response will be received. The maximum number of rooms won't - /// change. + /// The ranges and the state will be updated when the next request will be + /// sent and a response will be received. The maximum number of rooms + /// won't change. pub fn set_sync_mode(&self, sync_mode: SlidingSyncMode) { self.inner.set_sync_mode(sync_mode); }