diff --git a/bindings/matrix-sdk-ffi/src/room_list.rs b/bindings/matrix-sdk-ffi/src/room_list.rs index b76c49470..26926412d 100644 --- a/bindings/matrix-sdk-ffi/src/room_list.rs +++ b/bindings/matrix-sdk-ffi/src/room_list.rs @@ -65,7 +65,7 @@ impl RoomList { let sync_stream = this.sync(); pin_mut!(sync_stream); - while let Some(_) = sync_stream.next().await { + while sync_stream.next().await.is_some() { // keep going! } })))