Skip to content

Commit

Permalink
Merge pull request #1354 from nabijaczleweli/master
Browse files Browse the repository at this point in the history
docs(headers): fix >-quote formatting
  • Loading branch information
seanmonstar authored Oct 16, 2017
2 parents 8ac1179 + d48ab96 commit e507510
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/header/common/content_length.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use header::{Header, Raw, parsing};
/// [RFC7230](http://tools.ietf.org/html/rfc7230#section-3.3.2):
///
/// > A sender MUST NOT send a Content-Length header field in any message
/// that > contains a Transfer-Encoding header field.
/// > that contains a Transfer-Encoding header field.
///
/// # ABNF
/// ```plain
Expand Down
1 change: 0 additions & 1 deletion src/header/common/pragma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use header::{Header, Raw, parsing};
/// > that they will understand (as Cache-Control was not defined until
/// > HTTP/1.1). When the Cache-Control header field is also present and
/// > understood in a request, Pragma is ignored.
/// > In HTTP/1.0, Pragma was defined as an extensible field for
/// > implementation-specified directives for recipients. This
/// > specification deprecates such extensions to improve interoperability.
Expand Down
2 changes: 1 addition & 1 deletion src/proto/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pub fn from_wire<B>(incoming: ResponseHead, body: Option<B>) -> Response<B> {
}
}

/// Splits this response into a MessageHead<StatusCode> and its body
/// Splits this response into a `MessageHead<StatusCode>` and its body
#[inline]
pub fn split<B>(res: Response<B>) -> (MessageHead<StatusCode>, Option<B>) {
let head = MessageHead::<StatusCode> {
Expand Down

0 comments on commit e507510

Please sign in to comment.