From b0241e51a30ce95656ebf6ac2c7e55c65f63a6a5 Mon Sep 17 00:00:00 2001 From: Stephen Date: Thu, 16 Jul 2020 18:40:52 -0300 Subject: [PATCH] Fixed formatting --- matrix_sdk/src/client.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index b3f6323e..f811abd9 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -105,7 +105,7 @@ pub struct ClientConfig { user_agent: Option, disable_ssl_verification: bool, base_config: BaseClientConfig, - timeout: Duration + timeout: Duration, } // #[cfg_attr(tarpaulin, skip)] @@ -200,11 +200,11 @@ impl ClientConfig { self } - /// Set a timeout duration for all HTTP requests. The default is no timeout. - pub fn timeout(mut self, timeout: Duration) -> Self { - self.timeout = timeout; - self - } + /// Set a timeout duration for all HTTP requests. The default is no timeout. + pub fn timeout(mut self, timeout: Duration) -> Self { + self.timeout = timeout; + self + } } #[derive(Debug, Default, Clone)]