Skip to content

Commit daeffc0

Browse files
committed
feat: Derive PartialEq and Eq for RoomListLoadingState
1 parent bd15f4e commit daeffc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk-ui/src/room_list_service/room_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ fn merge_stream_and_receiver(
254254
/// When a [`RoomList`] is displayed to the user, it can be in various states.
255255
/// This enum tries to represent those states with a correct level of
256256
/// abstraction.
257-
#[derive(Clone, Debug)]
257+
#[derive(Clone, Debug, PartialEq, Eq)]
258258
pub enum RoomListLoadingState {
259259
/// The [`RoomList`] has not been loaded yet, i.e. a sync might run
260260
/// or not run at all, there is nothing to show in this `RoomList` yet.

0 commit comments

Comments
 (0)