From 46c54fbf34e677f7a130435261c1c72bde371e3c Mon Sep 17 00:00:00 2001 From: tottoto Date: Sat, 30 Mar 2024 20:27:23 +0900 Subject: [PATCH] chore(util): resolve duplicate import --- http-body-util/src/collected.rs | 2 +- http-body-util/src/combinators/with_trailers.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/http-body-util/src/collected.rs b/http-body-util/src/collected.rs index 31a02a4..a78f395 100644 --- a/http-body-util/src/collected.rs +++ b/http-body-util/src/collected.rs @@ -94,7 +94,7 @@ impl Unpin for Collected {} #[cfg(test)] mod tests { - use std::convert::{Infallible, TryInto}; + use std::convert::TryInto; use futures_util::stream; diff --git a/http-body-util/src/combinators/with_trailers.rs b/http-body-util/src/combinators/with_trailers.rs index 44c4595..38e0061 100644 --- a/http-body-util/src/combinators/with_trailers.rs +++ b/http-body-util/src/combinators/with_trailers.rs @@ -123,7 +123,7 @@ mod tests { use std::convert::Infallible; use bytes::Bytes; - use http::{HeaderMap, HeaderName, HeaderValue}; + use http::{HeaderName, HeaderValue}; use crate::{BodyExt, Empty, Full};