matrix_sdk: Remove clippy allows
parent
ed1f12ce37
commit
230b2a229f
|
@ -316,10 +316,10 @@ impl Client {
|
||||||
homeserver_url: U,
|
homeserver_url: U,
|
||||||
config: ClientConfig,
|
config: ClientConfig,
|
||||||
) -> Result<Self> {
|
) -> Result<Self> {
|
||||||
#[allow(clippy::match_wild_err_arm)]
|
let homeserver = if let Ok(u) = homeserver_url.try_into() {
|
||||||
let homeserver: Url = match homeserver_url.try_into() {
|
u
|
||||||
Ok(u) => u,
|
} else {
|
||||||
Err(_e) => panic!("Error parsing homeserver url"),
|
panic!("Error parsing homeserver url")
|
||||||
};
|
};
|
||||||
|
|
||||||
let http_client = reqwest::Client::builder();
|
let http_client = reqwest::Client::builder();
|
||||||
|
|
Loading…
Reference in New Issue