diff --git a/xmtp_mls/src/groups/group_mutable_metadata.rs b/xmtp_mls/src/groups/group_mutable_metadata.rs index a688e1ad5..64f46ab4a 100644 --- a/xmtp_mls/src/groups/group_mutable_metadata.rs +++ b/xmtp_mls/src/groups/group_mutable_metadata.rs @@ -45,7 +45,7 @@ pub enum MetadataField { } impl MetadataField { - pub fn as_str(&self) -> &'static str { + pub const fn as_str(&self) -> &'static str { match self { MetadataField::GroupName => "group_name", MetadataField::Description => "description",