From 8a97936228d2d67f89cb10c5156f9661c2e67188 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 1 Feb 2022 15:44:22 +0100 Subject: [PATCH] Fix one more clippy warning --- crates/matrix-sdk-appservice/tests/tests.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/crates/matrix-sdk-appservice/tests/tests.rs b/crates/matrix-sdk-appservice/tests/tests.rs index 41529c5c543..ba906cce2f4 100644 --- a/crates/matrix-sdk-appservice/tests/tests.rs +++ b/crates/matrix-sdk-appservice/tests/tests.rs @@ -36,13 +36,8 @@ async fn appservice(registration: Option) -> Result { let client_config = ClientConfig::default().request_config(RequestConfig::default().disable_retry()); - Ok(AppService::new_with_config( - homeserver_url.as_ref(), - server_name, - registration, - client_config, - ) - .await?) + AppService::new_with_config(homeserver_url.as_ref(), server_name, registration, client_config) + .await } #[async_test]