From 00501f707351b190c19af3a42f975d722cfa162a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Fri, 1 Sep 2023 14:53:25 +0200 Subject: [PATCH] rustfmt --- common/client-core/src/init/helpers.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/common/client-core/src/init/helpers.rs b/common/client-core/src/init/helpers.rs index 3f19d639ce..9d54130576 100644 --- a/common/client-core/src/init/helpers.rs +++ b/common/client-core/src/init/helpers.rs @@ -208,21 +208,21 @@ pub(super) async fn register_with_gateway( our_identity.clone(), timeout, ); - gateway_client - .establish_connection() - .await - .map_err(|err| { - log::warn!("Failed to establish connection with gateway!"); - ClientCoreError::GatewayClientError { - gateway_id: gateway.gateway_id.clone(), - source: err, - } - })?; + gateway_client.establish_connection().await.map_err(|err| { + log::warn!("Failed to establish connection with gateway!"); + ClientCoreError::GatewayClientError { + gateway_id: gateway.gateway_id.clone(), + source: err, + } + })?; let shared_keys = gateway_client .perform_initial_authentication() .await .map_err(|err| { - log::warn!( "Failed to register with the gateway {}!", gateway.gateway_id); + log::warn!( + "Failed to register with the gateway {}!", + gateway.gateway_id + ); ClientCoreError::GatewayClientError { gateway_id: gateway.gateway_id.clone(), source: err,