Skip to content

Commit 050b76b

Browse files
committed
Fix outdated rust-toolchain file. Misc cleanup
1 parent 0a30102 commit 050b76b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "nightly-2023-12-22"
2+
channel = "stable"

src/profile/user_profile.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::{borrow::Cow, cell::RefCell, collections::{btree_map::Entry, BTreeMap}, ops::{Deref, DerefMut}, sync::Arc};
22
use crossbeam_queue::SegQueue;
33
use makepad_widgets::*;
4-
use matrix_sdk::{room::RoomMember, ruma::events::room::member::MembershipState, OwnedRoomId, OwnedUserId, UserId};
4+
use matrix_sdk::{room::RoomMember, ruma::{events::room::member::MembershipState, OwnedRoomId, OwnedUserId, UserId}};
55
use crate::{
66
shared::avatar::AvatarWidgetExt, sliding_sync::{get_client, submit_async_request, MatrixRequest}, utils
77
};
@@ -57,6 +57,7 @@ impl UserProfileUpdate {
5757
/// only if the user_id and room_id match that of the update.
5858
///
5959
/// Returns `true` if the update resulted in any actual content changes.
60+
#[allow(unused)]
6061
fn apply_to_current_pane(&self, info: &mut UserProfilePaneInfo) -> bool {
6162
match self {
6263
UserProfileUpdate::Full { new_profile, room_id, room_member } => {

0 commit comments

Comments
 (0)