File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1245,7 +1245,7 @@ impl HeaderName {
12451245 /// ```should_panic
12461246 /// # use http::header::*;
12471247 /// #
1248- /// // Parsing a header that contains invalid symbols(s) :
1248+ /// // Parsing a header that contains invalid symbols:
12491249 /// HeaderName::from_static("content{}{}length"); // This line panics!
12501250 ///
12511251 /// // Parsing a header that contains invalid uppercase characters.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use crate::header::name::HeaderName;
1515/// HTTP spec allows for a header value to contain opaque bytes as well. In this
1616/// case, the header field value is not able to be represented as a string.
1717///
18- /// To handle this, the `HeaderValue` is useable as a type and can be compared
18+ /// To handle this, the `HeaderValue` is usable as a type and can be compared
1919/// with strings and implements `Debug`. A `to_str` fn is provided that returns
2020/// an `Err` if the header value contains non visible ascii characters.
2121#[ derive( Clone ) ]
You can’t perform that action at this time.
0 commit comments