Skip to content

Commit 83513fd

Browse files
committed
chore: Fix some typos in the doc.
1 parent fd072be commit 83513fd

File tree

2 files changed

+5
-3
lines changed
  • crates
    • matrix-sdk-base/src/sliding_sync
    • matrix-sdk-ui/src/room_list_service/sorters

2 files changed

+5
-3
lines changed

crates/matrix-sdk-base/src/sliding_sync/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 The Matrix.org Foundation C.I.C.
1+
// Copyright 2024 The Matrix.org Foundation C.I.C.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

crates/matrix-sdk-ui/src/room_list_service/sorters/recency.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ where
6464
}
6565

6666
/// Create a new sorter that will sort two [`Room`] by recency, i.e. by
67-
/// comparing their [`matrix_sdk_base::RoomInfo::recency_stamp`] value. The
68-
/// `Room` with the newest recency stamp comes first, i.e. newest < oldest.
67+
/// comparing their [`RoomInfo::recency_stamp`] value. The `Room` with the
68+
/// newest recency stamp comes first, i.e. newest < oldest.
69+
///
70+
/// [`RoomInfo::recency_stamp`]: matrix_sdk_base::RoomInfo::recency_stamp
6971
pub fn new_sorter() -> impl Sorter {
7072
let matcher = RecencyMatcher {
7173
recency_stamps: move |left, right| (left.recency_stamp(), right.recency_stamp()),

0 commit comments

Comments
 (0)