mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-08-04 12:02:40 -04:00
chore(sdk): Add a #[must_use] to `ThreadEventCacheStateLockWriteGuard::handle_sync.
This commit is contained in:
@@ -278,6 +278,7 @@ impl<'a> ThreadEventCacheStateLockWriteGuard<'a> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[must_use = "Propagate `VectorDiff` updates via `TimelineVectorDiffs`"]
|
||||
pub async fn handle_sync(&mut self, events: Vec<Event>) -> Result<Vec<VectorDiff<Event>>> {
|
||||
let DeduplicationOutcome {
|
||||
all_events: events,
|
||||
|
||||
Reference in New Issue
Block a user