Drop #[non_exhaustive] attribute on RoomVersionId
With the _Custom variant being hidden, there is no point in additionally making it non-exhaustive.
This commit is contained in:
parent
a01459e12b
commit
c6d293e0e0
@ -28,7 +28,6 @@ use crate::Error;
|
||||
/// written are represented by a hidden enum variant. You can still construct them the same, and
|
||||
/// check for them using one of `RoomVersionId`s `PartialEq` implementations or through `.as_str()`.
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
#[non_exhaustive]
|
||||
pub enum RoomVersionId {
|
||||
/// A version 1 room.
|
||||
Version1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user