doc(ui): Fix intra-links.

This commit is contained in:
Ivan Enderlin
2023-06-22 14:08:09 +02:00
parent f9fe7450ce
commit 083a79a408
2 changed files with 5 additions and 4 deletions

View File

@@ -166,9 +166,9 @@ impl RoomListService {
///
/// It's the main method of this entire API. Calling `sync` allows to
/// receive updates on the room list: new rooms, rooms updates etc. Those
/// updates can be read with [`Self::entries`]. This method returns a
/// [`Stream`] where produced items only hold an empty value in case of a
/// sync success, otherwise an error.
/// updates can be read with [`RoomList::entries`] for example. This method
/// returns a [`Stream`] where produced items only hold an empty value
/// in case of a sync success, otherwise an error.
///
/// The `RoomListService`' state machine is run by this method.
///

View File

@@ -22,7 +22,8 @@ use tokio::{spawn, task::JoinHandle};
use super::{Error, State};
/// A `RoomList` represents a list of rooms, from a [`RoomListService`].
/// A `RoomList` represents a list of rooms, from a
/// [`RoomListService`](super::RoomListService).
#[derive(Debug)]
pub struct RoomList {
sliding_sync_list: SlidingSyncList,