doc(sdk): Fix comment of RoomEventCacheState::handle_sync.

This patch fixes a comment about `RoomEventCacheState::handle_sync`
returned values.
This commit is contained in:
Ivan Enderlin
2025-06-18 13:17:22 +02:00
parent 877a7d678f
commit e551efec8d

View File

@@ -1295,8 +1295,8 @@ mod private {
/// It may send room event cache updates to the given sender, if it
/// generated any of those.
///
/// Returns true if a new gap (previous-batch token) has been inserted,
/// false otherwise.
/// Returns `true` for the first part of the tuple if a new gap
/// (previous-batch token) has been inserted, `false` otherwise.
#[must_use = "Propagate `VectorDiff` updates via `RoomEventCacheUpdate`"]
pub async fn handle_sync(
&mut self,