mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-09 00:15:23 -04:00
doc(sdk): Fix comment of RoomEventCacheState::handle_sync.
This patch fixes a comment about `RoomEventCacheState::handle_sync` returned values.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user