diff --git a/crates/ruma-common/src/identifiers/matrix_uri.rs b/crates/ruma-common/src/identifiers/matrix_uri.rs index 8b215028..7c0cdf43 100644 --- a/crates/ruma-common/src/identifiers/matrix_uri.rs +++ b/crates/ruma-common/src/identifiers/matrix_uri.rs @@ -42,7 +42,7 @@ const RESERVED: &AsciiSet = &CONTROLS .add(b'='); /// All Matrix Identifiers that can be represented as a Matrix URI. -#[derive(Debug, PartialEq, Eq)] +#[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub enum MatrixId { /// A room ID.