mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-05 17:53:48 +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_middleware::{ClientBuilder, ClientWithMiddleware, RequestBuilder};
|
||||||
use reqwest_tracing::TracingMiddleware;
|
use reqwest_tracing::TracingMiddleware;
|
||||||
use std::{sync::LazyLock, time::Duration};
|
use std::{sync::LazyLock, time::Duration};
|
||||||
use url::Url;
|
|
||||||
|
|
||||||
// Pictrs cannot use proxy
|
// Pictrs cannot use proxy
|
||||||
|
#[allow(clippy::expect_used)]
|
||||||
pub(super) static PICTRS_CLIENT: LazyLock<ClientWithMiddleware> = LazyLock::new(|| {
|
pub(super) static PICTRS_CLIENT: LazyLock<ClientWithMiddleware> = LazyLock::new(|| {
|
||||||
ClientBuilder::new(
|
ClientBuilder::new(
|
||||||
client_builder(&SETTINGS)
|
client_builder(&SETTINGS)
|
||||||
|
|
Loading…
Reference in a new issue