doc(sdk): Fix document in thread cache.

This commit is contained in:
Ivan Enderlin
2026-05-12 17:00:26 +02:00
parent 835ef77367
commit 25abaefcb1
2 changed files with 4 additions and 4 deletions

View File

@@ -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,
}

View File

@@ -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