Skip to content

Commit 557e038

Browse files
committed
Minimal style improvements
1 parent 36db5e4 commit 557e038

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/matrix-sdk-appservice/tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ async fn test_appservice_on_sub_path() -> Result<()> {
294294

295295
let members = appservice
296296
.get_cached_client(None)?
297-
.get_room(&room_id)
297+
.get_room(room_id)
298298
.expect("Expected room to be available")
299299
.members_no_sync()
300300
.await?;

crates/matrix-sdk-base/src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ impl BaseClient {
755755
o.update_tracked_users(user_ids).await
756756
}
757757

758-
o.update_tracked_users(user_ids.iter().map(|x| &**x)).await
758+
o.update_tracked_users(user_ids.iter().map(|x| &**x)).await;
759759
}
760760
}
761761

crates/matrix-sdk-crypto/src/machine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ impl OlmMachine {
12051205
/// If the user is already known to the Olm machine it will not be
12061206
/// considered for a key query.
12071207
pub async fn update_tracked_users(&self, users: impl IntoIterator<Item = &UserId>) {
1208-
self.identity_manager.update_tracked_users(users).await
1208+
self.identity_manager.update_tracked_users(users).await;
12091209
}
12101210

12111211
/// Get a specific device of a user.

0 commit comments

Comments
 (0)