mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-31 15:21:31 +00:00
clippy
This commit is contained in:
parent
d252be2113
commit
e815778926
1 changed files with 1 additions and 1 deletions
|
@ -26,9 +26,9 @@ use reqwest::Body;
|
|||
use reqwest_middleware::{ClientBuilder, ClientWithMiddleware, RequestBuilder};
|
||||
use reqwest_tracing::TracingMiddleware;
|
||||
use std::{sync::LazyLock, time::Duration};
|
||||
use url::Url;
|
||||
|
||||
// Pictrs cannot use proxy
|
||||
#[allow(clippy::expect_used)]
|
||||
pub(super) static PICTRS_CLIENT: LazyLock<ClientWithMiddleware> = LazyLock::new(|| {
|
||||
ClientBuilder::new(
|
||||
client_builder(&SETTINGS)
|
||||
|
|
Loading…
Reference in a new issue