From 44dfbd2fa6bbb6507496489ed2a6724f2f1a95b1 Mon Sep 17 00:00:00 2001 From: Stephen Date: Thu, 16 Jul 2020 20:21:34 -0300 Subject: [PATCH] Fix --- matrix_sdk/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 16e4325c..fffed1b4 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -307,7 +307,7 @@ impl Client { let http_client = reqwest::Client::builder(); - let http_client = match (config.timeout) { + let http_client = match config.timeout { Some(x) => http_client.timeout(x), None => http_client, };