Skip to content

Commit

Permalink
Fix one more clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Feb 1, 2022
1 parent 0df1f60 commit 8a97936
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions crates/matrix-sdk-appservice/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,8 @@ async fn appservice(registration: Option<Registration>) -> Result<AppService> {
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]
Expand Down

0 comments on commit 8a97936

Please sign in to comment.