From 4bf9990a8b7a3d4649819ccf908cb282bb7da9dd Mon Sep 17 00:00:00 2001 From: Abdulrahim Al Methiab Date: Mon, 15 Jan 2024 22:25:21 +0100 Subject: [PATCH] fmt --- examples/1_advanced/6_domain_linkage.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/1_advanced/6_domain_linkage.rs b/examples/1_advanced/6_domain_linkage.rs index d3b76c8f7a..6e7a629110 100644 --- a/examples/1_advanced/6_domain_linkage.rs +++ b/examples/1_advanced/6_domain_linkage.rs @@ -179,11 +179,13 @@ async fn main() -> anyhow::Result<()> { assert_eq!(linked_domain_services.len(), 1); // Get the domains included in the Linked Domain Service. - let domains: &[Url] = linked_domain_services.first() + let domains: &[Url] = linked_domain_services + .first() .ok_or_else(|| anyhow::anyhow!("expected a domain"))? .domains(); - let domain_foo: Url = domains.first() + let domain_foo: Url = domains + .first() .ok_or_else(|| anyhow::anyhow!("expected a domain"))? .clone(); assert_eq!(domain_foo, domain_1);