From 2c8f48fabb8891e27f56bb36d1ac8fc8fc0d75bf Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 13 May 2025 16:01:07 +0200 Subject: [PATCH] doc(base): Fix inline comment typos. --- .../matrix-sdk-base/src/response_processors/state_events.rs | 4 ---- crates/matrix-sdk-base/src/sliding_sync.rs | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/matrix-sdk-base/src/response_processors/state_events.rs b/crates/matrix-sdk-base/src/response_processors/state_events.rs index 88bf1e2db..4a0857585 100644 --- a/crates/matrix-sdk-base/src/response_processors/state_events.rs +++ b/crates/matrix-sdk-base/src/response_processors/state_events.rs @@ -146,11 +146,7 @@ pub mod stripped { /// counterpart. /// * `room` - The [`Room`] to modify. /// * `room_info` - The current room's info. - /// * `push_rules` - The push rules for this room. - /// * `changes` - The accumulated list of changes to apply once the - /// processing is finished. /// * `notifications` - Notifications to post for the current room. - /// * `state_store` — The state store. #[instrument(skip_all, fields(room_id = ?room_info.room_id))] pub(crate) async fn dispatch_invite_or_knock( context: &mut Context, diff --git a/crates/matrix-sdk-base/src/sliding_sync.rs b/crates/matrix-sdk-base/src/sliding_sync.rs index a9774a162..95a3e5e88 100644 --- a/crates/matrix-sdk-base/src/sliding_sync.rs +++ b/crates/matrix-sdk-base/src/sliding_sync.rs @@ -211,7 +211,7 @@ impl BaseClient { ) .await; - // Rooms in `new_rooms.join` either have a timeline update, or a new read + // Rooms in `room_updates.joined` either have a timeline update, or a new read // receipt. Update the read receipt accordingly. // let user_id = &self.session_meta().expect("logged in user").user_id;