docs(lib): fix rustdoc warnings

This commit is contained in:
Guillaume Gomez
2017-11-10 19:22:33 +01:00
committed by Sean McArthur
parent fe38aa4bc1
commit e330d30964
55 changed files with 237 additions and 72 deletions

View File

@@ -11,11 +11,13 @@ header! {
/// that was content negotiated, created or for the response payload.
///
/// # ABNF
/// ```plain
///
/// ```text
/// Content-Location = absolute-URI / partial-URI
/// ```
///
/// # Example values
///
/// * `/hypertext/Overview.html`
/// * `http://www.example.org/hypertext/Overview.html`
///
@@ -27,6 +29,7 @@ header! {
/// let mut headers = Headers::new();
/// headers.set(ContentLocation("/hypertext/Overview.html".to_owned()));
/// ```
///
/// ```
/// use hyper::header::{Headers, ContentLocation};
///