Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas committed Jan 16, 2024
1 parent 1550c5e commit ec5bdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion did_core/did_doc/src/schema/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
}

Expand Down

0 comments on commit ec5bdd4

Please sign in to comment.