From bca26c81b197059ea732fd8fcba38fb492fa6e45 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 19 Mar 2026 10:06:22 +0100 Subject: [PATCH] chore(sdk): Add a `#[must_use]` to `ThreadEventCacheStateLockWriteGuard::handle_sync. --- crates/matrix-sdk/src/event_cache/caches/thread/state.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/matrix-sdk/src/event_cache/caches/thread/state.rs b/crates/matrix-sdk/src/event_cache/caches/thread/state.rs index af2fbfa9e..b2e27a243 100644 --- a/crates/matrix-sdk/src/event_cache/caches/thread/state.rs +++ b/crates/matrix-sdk/src/event_cache/caches/thread/state.rs @@ -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) -> Result>> { let DeduplicationOutcome { all_events: events,