aboutsummaryrefslogtreecommitdiff
path: root/src/k2v-client
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-08 19:02:48 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-08 23:29:57 +0100
commitbcbd15da84181ad94ece7e794933a6ebd388f5bc (patch)
treec7b21f8b5d9c800f3a0be5f1ca26a0c956c63288 /src/k2v-client
parentad5ce968d212d951f7459c36bcbdd78ce39be585 (diff)
downloadgarage-bcbd15da84181ad94ece7e794933a6ebd388f5bc.tar.gz
garage-bcbd15da84181ad94ece7e794933a6ebd388f5bc.zip
[dep-upgrade-202402] cargo clippy fixes
Diffstat (limited to 'src/k2v-client')
-rw-r--r--src/k2v-client/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k2v-client/lib.rs b/src/k2v-client/lib.rs
index 13538909..852274a7 100644
--- a/src/k2v-client/lib.rs
+++ b/src/k2v-client/lib.rs
@@ -10,7 +10,7 @@ use http::header::{ACCEPT, CONTENT_TYPE};
use http::status::StatusCode;
use http::{HeaderName, HeaderValue, Request};
use http_body_util::{BodyExt, Full as FullBody};
-use hyper::{body::Body as BodyTrait, body::Bytes};
+use hyper::body::Bytes;
use hyper_rustls::HttpsConnector;
use hyper_util::client::legacy::{connect::HttpConnector, Client as HttpClient};
use hyper_util::rt::TokioExecutor;