chore: Clippy fixes

This commit is contained in:
Ginger
2026-04-13 18:31:16 -04:00
parent 02f69a7160
commit a8a8e1ea51
25 changed files with 50 additions and 51 deletions
+1 -5
View File
@@ -212,11 +212,7 @@ impl Service {
root_summary.inaccessible_children.into_iter().collect();
// TODO refactor this with Vec::peek_mut once it's stabilized
loop {
let Some(layer) = queue.last_mut() else {
break;
};
while let Some(layer) = queue.last_mut() {
let Some(SpaceChild { room_id, via }) = layer.pop() else {
// If this layer is empty, discard it from the queue and continue
queue.pop();