chore: Make Clippy happy.

This commit is contained in:
Ivan Enderlin
2023-07-24 16:59:46 +02:00
parent d39cbd865b
commit d60a65f82b
@@ -80,7 +80,7 @@ impl RoomList {
pin_mut!(room_list_service_state);
// As soon as the state changed, drain the entries stream.
while let Some(_) = room_list_service_state.next().await {
while room_list_service_state.next().await.is_some() {
// Since a broadcast channel is used, if there is no receiver, it won't
// break. We are not interested by the result of the drainer send, we just
// drain.