From ec5bdd47246aa29b6d4085dd911f3f64e0c0cc9d Mon Sep 17 00:00:00 2001 From: Patrik Stas Date: Tue, 16 Jan 2024 13:23:07 +0100 Subject: [PATCH] Fix formatting Signed-off-by: Patrik Stas --- did_core/did_doc/src/schema/service/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/did_core/did_doc/src/schema/service/mod.rs b/did_core/did_doc/src/schema/service/mod.rs index a5a7785140..f1bab97f70 100644 --- a/did_core/did_doc/src/schema/service/mod.rs +++ b/did_core/did_doc/src/schema/service/mod.rs @@ -54,7 +54,7 @@ impl Service { pub fn service_types(&self) -> &[ServiceType] { match &self.service_type { OneOrList::One(service_type) => std::slice::from_ref(service_type), - OneOrList::List(service_types) => service_types.as_slice() + OneOrList::List(service_types) => service_types.as_slice(), } }