Skip to content

Commit 293aa01

Browse files
committed
Clean up docs a bit
1 parent 3ba58cf commit 293aa01

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ impl conduit::Headers for Parts {
4343
}
4444

4545
/// Returns a representation of all headers
46-
///
47-
/// There is currently a bug where keys with mutliple values will be duplicated.
48-
/// See: https://github.com/hyperium/http/issues/199
4946
fn all(&self) -> Vec<(&str, Vec<&str>)> {
5047
let mut all = Vec::new();
5148
for key in self.headers().keys() {
@@ -138,7 +135,7 @@ impl conduit::Request for ConduitRequest {
138135

139136
/// Returns the value of the `Host` header
140137
///
141-
/// If the header is not present or invalid UTF-8, then the empty string is returned
138+
/// If the header is not present or is invalid UTF-8, then the empty string is returned
142139
fn host(&self) -> conduit::Host<'_> {
143140
let host = self
144141
.parts

0 commit comments

Comments
 (0)