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:
Jonas Platte 2020-09-22 01:15:38 +02:00
parent a01459e12b
commit c6d293e0e0
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -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,