Skip to content

Commit 53b560b

Browse files
authored
refactor(proto): use HeaderMap type without client feature (#3491)
1 parent 31b4180 commit 53b560b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/proto/h1/role.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ use std::time::Instant;
77

88
use bytes::Bytes;
99
use bytes::BytesMut;
10+
#[cfg(feature = "client")]
11+
use http::header::Entry;
1012
#[cfg(feature = "server")]
1113
use http::header::ValueIter;
12-
use http::header::{self, HeaderName, HeaderValue};
13-
#[cfg(feature = "client")]
14-
use http::{header::Entry, HeaderMap};
14+
use http::header::{self, HeaderMap, HeaderName, HeaderValue};
1515
use http::{Method, StatusCode, Version};
1616

1717
use crate::body::DecodedLength;

0 commit comments

Comments
 (0)