mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-06-09 17:04:26 -04:00
doc(sdk): Fix document in thread cache.
This commit is contained in:
@@ -54,7 +54,7 @@ pub struct ThreadEventCache {
|
||||
inner: Arc<ThreadEventCacheInner>,
|
||||
}
|
||||
|
||||
/// The (non-cloneable) details of the `RoomEventCache`.
|
||||
/// The (non-cloneable) details of the `ThreadEventCache`.
|
||||
struct ThreadEventCacheInner {
|
||||
/// The room ID.
|
||||
room_id: OwnedRoomId,
|
||||
@@ -71,7 +71,7 @@ struct ThreadEventCacheInner {
|
||||
/// A notifier that we received a new pagination token.
|
||||
pagination_batch_token_notifier: Notify,
|
||||
|
||||
/// Update sender for this room.
|
||||
/// Update sender for this thread.
|
||||
update_sender: ThreadEventCacheUpdateSender,
|
||||
}
|
||||
|
||||
|
||||
@@ -75,8 +75,8 @@ pub struct ThreadEventCacheState {
|
||||
|
||||
/// A clone of [`super::ThreadEventCacheInner::update_sender`].
|
||||
///
|
||||
/// This is used only by the [`ThreadEventCacheStateLock::read`] and
|
||||
/// [`ThreadEventCacheStateLock::write`] when the state must be reset.
|
||||
/// This is used only by the [`LockedThreadEventCacheState::read`] and
|
||||
/// [`LockedThreadEventCacheState::write`] when the state must be reset.
|
||||
update_sender: ThreadEventCacheUpdateSender,
|
||||
|
||||
/// A sender for the globally observable linked chunk updates that happened
|
||||
|
||||
Reference in New Issue
Block a user