From e6cd2b099531af4bb4684508af8bc8b4a00bec57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sat, 2 Apr 2022 22:48:54 +0200 Subject: [PATCH] identifiers: Derive Clone on MatrixId --- crates/ruma-common/src/identifiers/matrix_uri.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.