Skip to content

Commit 95e93ca

Browse files
zecakehstefanceriu
authored andcommitted
fix(ui): Fix broken links
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
1 parent bb6ba08 commit 95e93ca

File tree

1 file changed

+4
-4
lines changed
  • crates/matrix-sdk-ui/src/room_list_service

1 file changed

+4
-4
lines changed

crates/matrix-sdk-ui/src/room_list_service/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ impl RoomListService {
236236
///
237237
/// It's the main method of this entire API. Calling `sync` allows to
238238
/// receive updates on the room list: new rooms, rooms updates etc. Those
239-
/// updates can be read with [`RoomList::entries`] for example. This method
239+
/// updates can be read with `RoomList::entries` for example. This method
240240
/// returns a [`Stream`] where produced items only hold an empty value
241241
/// in case of a sync success, otherwise an error.
242242
///
@@ -247,7 +247,7 @@ impl RoomListService {
247247
/// the state machine.
248248
///
249249
/// This should be used only for testing. In practice, most users should be
250-
/// using the [`SyncService`] instead.
250+
/// using the [`SyncService`](crate::sync_service::SyncService) instead.
251251
#[doc(hidden)]
252252
pub fn sync(&self) -> impl Stream<Item = Result<(), Error>> + '_ {
253253
stream! {
@@ -322,15 +322,15 @@ impl RoomListService {
322322
/// state-machine into the [`State::Terminated`] state.
323323
///
324324
/// This should be used only for testing. In practice, most users should be
325-
/// using the [`SyncService`] instead.
325+
/// using the [`SyncService`](crate::sync_service::SyncService) instead.
326326
#[doc(hidden)]
327327
pub fn stop_sync(&self) -> Result<(), Error> {
328328
self.sliding_sync.stop_sync().map_err(Error::SlidingSync)
329329
}
330330

331331
/// Force the sliding sync session to expire.
332332
///
333-
/// This is used by [`SyncService`][crate::SyncService].
333+
/// This is used by [`SyncService`](crate::sync_service::SyncService).
334334
///
335335
/// **Warning**: This method **must not** be called while the sync loop is
336336
/// running!

0 commit comments

Comments
 (0)