We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b4180 commit 53b560bCopy full SHA for 53b560b
src/proto/h1/role.rs
@@ -7,11 +7,11 @@ use std::time::Instant;
7
8
use bytes::Bytes;
9
use bytes::BytesMut;
10
+#[cfg(feature = "client")]
11
+use http::header::Entry;
12
#[cfg(feature = "server")]
13
use http::header::ValueIter;
-use http::header::{self, HeaderName, HeaderValue};
-#[cfg(feature = "client")]
14
-use http::{header::Entry, HeaderMap};
+use http::header::{self, HeaderMap, HeaderName, HeaderValue};
15
use http::{Method, StatusCode, Version};
16
17
use crate::body::DecodedLength;
0 commit comments