chore: Clippy fixes

This commit is contained in:
Ginger
2026-04-13 18:02:25 -04:00
parent a0524a9566
commit 9899632b8b
3 changed files with 2 additions and 10 deletions
+2 -2
View File
@@ -367,7 +367,7 @@ pub async fn full_user_deactivate(
let room_power_levels = services
.rooms
.state_accessor
.get_room_power_levels(&room_id)
.get_room_power_levels(room_id)
.await;
let user_can_demote_self =
@@ -394,7 +394,7 @@ pub async fn full_user_deactivate(
// TODO: Redact all messages sent by the user in the room
}
for (pdu, room_id) in pdu_queue.into_iter() {
for (pdu, room_id) in pdu_queue {
let state_lock = services.rooms.state.mutex.lock(room_id.as_str()).await;
let _ = services