Skip to content

Commit 8ba8d42

Browse files
committed
chore(sdk,ui): Fix typos.
1 parent 86f82b3 commit 8ba8d42

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates

crates/matrix-sdk-ui/src/timeline/controller/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ impl<P: RoomDataProvider> TimelineController<P> {
391391
}
392392

393393
TimelineFocus::Thread { root_event_id, .. } => TimelineFocusKind::Thread {
394-
event_cache: event_cache.thread(room_id, &root_event_id).await?.0,
394+
event_cache: event_cache.thread(room_id, root_event_id).await?.0,
395395
root_event_id: root_event_id.clone(),
396396
},
397397

crates/matrix-sdk/src/event_cache/caches/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ impl<'c> ResetCaches<'c> {
366366
);
367367
}
368368

369-
// Now we can release the exclusive acces over the threads.
369+
// Now we can release the exclusive access over the threads.
370370
drop(threads_lock);
371371
}
372372

crates/matrix-sdk/src/event_cache/caches/thread/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ impl<'a> ThreadEventCacheStateLockReadGuard<'a> {
342342
//
343343
// TODO(@hywan): This is inefficient. We are bending the `LatestEvent` API here.
344344
// Ultimately, we want to delegate the computation of `ThreadSummary` to
345-
// `LatestEvent` instead of commiting crimes like these ones.
345+
// `LatestEvent` instead of committing crimes like these ones.
346346
let mut latest_event_id = self
347347
.thread_linked_chunk()
348348
.revents()

0 commit comments

Comments
 (0)