mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-05 06:28:20 -04:00
feat: Derive PartialEq and Eq for RoomListLoadingState
This commit is contained in:
@@ -254,7 +254,7 @@ fn merge_stream_and_receiver(
|
||||
/// When a [`RoomList`] is displayed to the user, it can be in various states.
|
||||
/// This enum tries to represent those states with a correct level of
|
||||
/// abstraction.
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub enum RoomListLoadingState {
|
||||
/// The [`RoomList`] has not been loaded yet, i.e. a sync might run
|
||||
/// or not run at all, there is nothing to show in this `RoomList` yet.
|
||||
|
||||
Reference in New Issue
Block a user